From a47f09e6204a5e72eec92ff5977fe493930d5ce7 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 7 Apr 2008 08:12:33 +0000 Subject: [PATCH] add CFLAGS from dependencies to CMAKE_C_FLAGS as well (instead of only to CXX) --- CMakeScripts/ConfigInkscapeDepends.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeScripts/ConfigInkscapeDepends.cmake b/CMakeScripts/ConfigInkscapeDepends.cmake index 911b7ce1a..e23b59b04 100644 --- a/CMakeScripts/ConfigInkscapeDepends.cmake +++ b/CMakeScripts/ConfigInkscapeDepends.cmake @@ -41,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(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${${dep_name}_CFLAGS}") SET(INKSCAPE_LINK_FLAGS "${INKSCAPE_LINK_FLAGS} ${${dep_name}_LINK_FLAGS}") ELSE("${dep}_FOUND") message(STATUS "${dep}: NOT FOUND") -- 2.30.2