From: johanengelen Date: Sun, 30 Mar 2008 20:22:21 +0000 (+0000) Subject: fix creation of CXX flags string X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=91a1140b846b304bfa149b33ba3ed2df3afacf49;p=inkscape.git fix creation of CXX flags string --- 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")