From 431b6e2c2cfe6c10b101aaaf296550b4ec44c862 Mon Sep 17 00:00:00 2001 From: "Joshua L. Blocher" Date: Mon, 12 Jan 2009 01:25:52 +0000 Subject: Cmake: Fixed the extra -l in the link command, plus a add linking for all sub-libs of inkscape. (bzr r7120) --- CMakeScripts/ConfigChecks.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'CMakeScripts/ConfigChecks.cmake') diff --git a/CMakeScripts/ConfigChecks.cmake b/CMakeScripts/ConfigChecks.cmake index 749c3c534..d20868767 100644 --- a/CMakeScripts/ConfigChecks.cmake +++ b/CMakeScripts/ConfigChecks.cmake @@ -1,7 +1,7 @@ #--------------- # From here on: # Set all HAVE_XXX variables, to correctly set all defines in config.h -SET(CMAKE_REQUIRED_INCLUDES ${INK_INCLUDES}) +#SET(CMAKE_REQUIRED_INCLUDES ${INK_INCLUDES}) INCLUDE (CheckIncludeFiles) INCLUDE (CheckFunctionExists) INCLUDE (CheckStructMember) @@ -55,9 +55,9 @@ CHECK_INCLUDE_FILES(sys/stat.h HAVE_SYS_STAT_H) CHECK_INCLUDE_FILES(sys/time.h HAVE_SYS_TIME_H) 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) +CHECK_INCLUDE_FILES(zlib.h HAVE_ZLIB_H) -#Enable pango defines, necessary for compilation on Win32, how about Linux? +#Enable pango defines, necessary for compilation on Win32, how about Linux? # yes but needs to be done a better way IF (HAVE_CAIRO_PDF) SET(PANGO_ENABLE_ENGINE TRUE) @@ -67,5 +67,5 @@ ENDIF(HAVE_CAIRO_PDF) # Create the two configuration files: config.h and inkscape_version.h # Create them in the binary root dir CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/config.h.cmake ${CMAKE_BINARY_DIR}/config.h) -FILE(WRITE ${CMAKE_BINARY_DIR}/inkscape_version.h "#define INKSCAPE_VERSION \"${INKSCAPE_VERSION}\"\n") -add_definitions(-DHAVE_CONFIG_H) +FILE(WRITE ${CMAKE_BINARY_DIR}/inkscape_version.h "#define INKSCAPE_VERSION \"${INKSCAPE_VERSION}\"\n") +add_definitions(-DHAVE_CONFIG_H) -- cgit v1.2.3