From 610352e4385a8a80d00290acbb348557898c8b5e Mon Sep 17 00:00:00 2001 From: Aaron Spike Date: Sun, 6 Apr 2008 02:40:07 +0000 Subject: CMake build work - Comment inkview.cpp because it is another executable file. These will each need to be separated into their own targets. - Move deptool.cpp into win32 only. perhaps this isn't used at all for cmake builds. - aggregate all the link flags into a var and pass to the linker to avoid platform specific naming conventions. (bzr r5356) --- CMakeScripts/ConfigInkscapeDepends.cmake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CMakeScripts') diff --git a/CMakeScripts/ConfigInkscapeDepends.cmake b/CMakeScripts/ConfigInkscapeDepends.cmake index 7d89fd435..3dbe4387c 100644 --- a/CMakeScripts/ConfigInkscapeDepends.cmake +++ b/CMakeScripts/ConfigInkscapeDepends.cmake @@ -25,6 +25,7 @@ include(UsePkgConfig) message(STATUS "") message(STATUS "") message(STATUS "Checking For REQUIRED Libraries for Building Inkscape.") +SET(INKSCAPE_LINK_FLAGS "") FOREACH(dep ${INKSCAPE_DEPENDS}) # This is a hack due to a bug in Cmake vars system, Uncomment if using a version older than 2.4 //verbalshadow # IF("${dep}" MATCHES "gtk\\+-2.0") @@ -40,6 +41,7 @@ FOREACH(dep ${INKSCAPE_DEPENDS}) message(STATUS "${dep}: FOUND") # Set Compiler Flags SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${${dep_name}_CFLAGS}") + SET(INKSCAPE_LINK_FLAGS "${INKSCAPE_LINK_FLAGS} ${${dep_name}_LINK_FLAGS}") ELSE("${dep}_FOUND") message(STATUS "${dep}: NOT FOUND") ENDIF("${dep}_FOUND") -- cgit v1.2.3