add color property to MIDISceneChange
[ardour.git] / wscript
diff --git a/wscript b/wscript
index f482bf1e1af915f97dde405fa5f52d3c5ff7a166..9f0c06b991e07567ee0386746afa2ab553334040 100644 (file)
--- a/wscript
+++ b/wscript
@@ -716,6 +716,11 @@ def configure(conf):
         # TODO put this only where it is needed
         conf.env.append_value('LIB', 'regex')
 
+        # work around GdkDrawable BitBlt performance issue on windows
+        # see http://gareus.org/wiki/ardour_windows_gdk_and_cairo
+        conf.env.append_value('CFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
+        conf.env.append_value('CXXFLAGS', '-DUSE_CAIRO_IMAGE_SURFACE')
+
     # Tell everyone that this is a waf build
 
     conf.env.append_value('CFLAGS', '-DWAF_BUILD')