summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-04-07 08:37:30 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-04-07 08:37:30 +0000
commit753c9a561b570dee15315b8282ed2387029264bd (patch)
tree1c8fa980306fe7a1f8addbaed8e7a98220053ff6 /CMakeScripts
parentcmake: add compile flags to C flags as well (diff)
downloadinkscape-753c9a561b570dee15315b8282ed2387029264bd.tar.gz
inkscape-753c9a561b570dee15315b8282ed2387029264bd.zip
cmake: add pango defines necessary for win32 building, also needed for linux?
(bzr r5371)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/ConfigInkscapeDepends.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeScripts/ConfigInkscapeDepends.cmake b/CMakeScripts/ConfigInkscapeDepends.cmake
index 775a5978a..2cae0ec35 100644
--- a/CMakeScripts/ConfigInkscapeDepends.cmake
+++ b/CMakeScripts/ConfigInkscapeDepends.cmake
@@ -103,6 +103,10 @@ CHECK_INCLUDE_FILES (sys/types.h HAVE_SYS_TYPES_H)
CHECK_INCLUDE_FILES (unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILES (zlib.h HAVE_ZLIB_H)
+# Enable pango defines, necessary for compilation on Win32, how about Linux?
+SET(PANGO_ENABLE_ENGINE TRUE)
+SET(RENDER_WITH_PANGO_CAIRO TRUE)
+
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
# Create File inkscape_version.h