From 91a1140b846b304bfa149b33ba3ed2df3afacf49 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Sun, 30 Mar 2008 20:22:21 +0000 Subject: [PATCH] fix creation of CXX flags string --- CMakeScripts/ConfigInkscapeDepends.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") -- 2.30.2