Code

cmake: add pango defines necessary for win32 building, also needed for linux?
authorjohanengelen <johanengelen@users.sourceforge.net>
Mon, 7 Apr 2008 08:37:30 +0000 (08:37 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Mon, 7 Apr 2008 08:37:30 +0000 (08:37 +0000)
CMakeScripts/ConfigInkscapeDepends.cmake

index 775a5978a3a030a96f7aeac262f6d122602f37cb..2cae0ec354f2dfe5ee9977a9eb2c2c4145e11ac5 100644 (file)
@@ -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