From: johanengelen Date: Mon, 7 Apr 2008 08:12:33 +0000 (+0000) Subject: add CFLAGS from dependencies to CMAKE_C_FLAGS as well (instead of only to CXX) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a47f09e6204a5e72eec92ff5977fe493930d5ce7;p=inkscape.git add CFLAGS from dependencies to CMAKE_C_FLAGS as well (instead of only to CXX) --- 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")