From: johanengelen Date: Mon, 7 Apr 2008 08:37:30 +0000 (+0000) Subject: cmake: add pango defines necessary for win32 building, also needed for linux? X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bec5eb2ce772f419a919cabac4d82cf684a289bd;p=inkscape.git cmake: add pango defines necessary for win32 building, also needed for linux? --- 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