diff --git a/build/bakefiles/common.bkl b/build/bakefiles/common.bkl
index f43c88e3e8..ada6c31a11 100644
--- a/build/bakefiles/common.bkl
+++ b/build/bakefiles/common.bkl
@@ -281,7 +281,15 @@
unicows
-
+
+ cairo
+
+
+ $(DOLLAR)(CAIRO_ROOT)/lib
+
+
+ $(DOLLAR)(CAIRO_ROOT)/include/cairo
+
gdiplus
@@ -485,6 +493,7 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
$(GFXCTX_DEFINE)
$(SETUPHDIR)
$(TOP_SRCDIR)include
+ $(CAIRO_INCLUDEDIR)
$(LIBDIRNAME)
$(MGLLIBPATH)
@@ -530,6 +539,8 @@ $(TAB)$(VC_COMPILER) /EP /nologo "$(DOLLAR)(InputPath)" > "$(SETUPHDIR)\wx\msw\r
$(UNICOWS_LIB)
$(GDIPLUS_LIB)
+ $(CAIRO_LIB)
+ $(CAIRO_LIBDIR)
ole2w32
diff --git a/build/bakefiles/config.bkl b/build/bakefiles/config.bkl
index b74c566af8..59171c055f 100644
--- a/build/bakefiles/config.bkl
+++ b/build/bakefiles/config.bkl
@@ -266,6 +266,14 @@ Acts according to BUILD by default.
+
+