From bec5eb2ce772f419a919cabac4d82cf684a289bd Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 7 Apr 2008 08:37:30 +0000 Subject: [PATCH] cmake: add pango defines necessary for win32 building, also needed for linux? --- CMakeScripts/ConfigInkscapeDepends.cmake | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2