Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
12 lines
541 B
Diff
12 lines
541 B
Diff
--- a/library/forms/swig/CMakeLists.txt
|
|
+++ b/library/forms/swig/CMakeLists.txt
|
|
@@ -57,7 +57,7 @@
|
|
|
|
set(CMAKE_SWIG_FLAGS -w312)
|
|
set_source_files_properties(cairo.i PROPERTIES CPLUSPLUS ON)
|
|
-set_property(SOURCE cairo.i PROPERTY SWIG_FLAGS -DCAIRO_HAS_PNG_FUNCTIONS=1 -fcompact -DSWIG_PYTHON_LEGACY_BOOL -I/usr/include)
|
|
+set_property(SOURCE cairo.i PROPERTY SWIG_FLAGS -DCAIRO_HAS_PNG_FUNCTIONS=1 -fcompact -DSWIG_PYTHON_LEGACY_BOOL -I@cairoDev@/include)
|
|
if(CMAKE_VERSION VERSION_LESS 3.8)
|
|
swig_add_module(cairo python cairo.i)
|
|
else()
|
|
|