Code

Cmake: Moved CMAKE_C_FLAGS to ConfigCompileFlags.cmake
authorverbalshadow <verbalshadow@users.sourceforge.net>
Mon, 7 Apr 2008 03:53:51 +0000 (03:53 +0000)
committerverbalshadow <verbalshadow@users.sourceforge.net>
Mon, 7 Apr 2008 03:53:51 +0000 (03:53 +0000)
CMakeLists.txt
CMakeScripts/ConfigCompileFlags.cmake

index 02a25749116a34824de38c278c6ffaae457a5489..db50b923109b0d63fd14203499264d5451e9067b 100644 (file)
@@ -29,8 +29,7 @@ SET(CMAKE_SKIP_RPATH:BOOL OFF)
 SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMakeScripts)\r
 INCLUDE(ConfigCompileFlags)\r
 INCLUDE(ConfigInkscapeDepends)\r
-
-SET(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS}")\r
+\r
 INCLUDE_DIRECTORIES ("${PROJECT_SOURCE_DIR}" src/)\r
 LINK_DIRECTORIES (src/)\r
 \r
index 4e789bc2ea03a0668c90174e8ce5fd55a65696a9..3c789931cd9430db9a3547896e75fa83cda6f0bd 100644 (file)
@@ -1,3 +1,4 @@
+SET(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS}")
 SET(COMPILE_WARNING_FLAGS "-Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch")
 SET(COMPILE_OPTIMIZATION_FLAGS "-O2")