summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-03-30 20:22:21 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-03-30 20:22:21 +0000
commit1ad9dcb5ebbbfeeb74289e9b7e61b06c915432bf (patch)
treed93cdc3837be6b910d8c94fdae05663e7f68eb3c /CMakeScripts
parentCmake: cflags fix (diff)
downloadinkscape-1ad9dcb5ebbbfeeb74289e9b7e61b06c915432bf.tar.gz
inkscape-1ad9dcb5ebbbfeeb74289e9b7e61b06c915432bf.zip
fix creation of CXX flags string
(bzr r5258)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/ConfigInkscapeDepends.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeScripts/ConfigInkscapeDepends.cmake b/CMakeScripts/ConfigInkscapeDepends.cmake
index 5177248d3..300ed7398 100644
--- a/CMakeScripts/ConfigInkscapeDepends.cmake
+++ b/CMakeScripts/ConfigInkscapeDepends.cmake
@@ -20,7 +20,8 @@ FOREACH(dep ${INKSCAPE_DEPENDS})
IF("${dep}_FOUND")
message(STATUS "${dep}: FOUND")
# Set Compiler Flags
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${dep_name_CFLAGS}")
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${${dep_name}_CFLAGS}")
+ message(STATUS "${CMAKE_CXX_FLAGS}")
ELSE("${dep}_FOUND")
message(STATUS "${dep}: NOT FOUND")
ENDIF("${dep}_FOUND")