diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-04-07 08:12:33 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-04-07 08:12:33 +0000 |
| commit | 872f7a54a43252a205e620ea140a3d67feaa8ce3 (patch) | |
| tree | a377272c788a27fce2625953da2cf84e0dd075f1 /CMakeScripts | |
| parent | Cmake: Moved CMAKE_C_FLAGS to ConfigCompileFlags.cmake (diff) | |
| download | inkscape-872f7a54a43252a205e620ea140a3d67feaa8ce3.tar.gz inkscape-872f7a54a43252a205e620ea140a3d67feaa8ce3.zip | |
add CFLAGS from dependencies to CMAKE_C_FLAGS as well (instead of only to CXX)
(bzr r5367)
Diffstat (limited to 'CMakeScripts')
| -rw-r--r-- | CMakeScripts/ConfigInkscapeDepends.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
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") |
