Code

fix creation of CXX flags string
authorjohanengelen <johanengelen@users.sourceforge.net>
Sun, 30 Mar 2008 20:22:21 +0000 (20:22 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sun, 30 Mar 2008 20:22:21 +0000 (20:22 +0000)
CMakeScripts/ConfigInkscapeDepends.cmake

index 5177248d3ef7c97f7684fd0957cf930645b60370..300ed7398946d1afb517b7bd845768c240064aae 100644 (file)
@@ -20,7 +20,8 @@ FOREACH(dep ${INKSCAPE_DEPENDS})
     IF("${dep}_FOUND")
         message(STATUS "${dep}: FOUND")
         # Set Compiler Flags\r
-        SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${dep_name_CFLAGS}")\r
+        SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${${dep_name}_CFLAGS}")
+        message(STATUS "${CMAKE_CXX_FLAGS}")\r
     ELSE("${dep}_FOUND")
         message(STATUS "${dep}: NOT FOUND")
     ENDIF("${dep}_FOUND")