[cmake-commits] king committed CMakeLists.txt 1.15 1.16
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Sep 22 08:42:48 EDT 2006
Update of /cvsroot/CMake/CMake/Tests/CustomCommand
In directory public:/mounts/ram/cvs-serv9609
Modified Files:
CMakeLists.txt
Log Message:
COMP: Need ANSI C flags to build check_command_line.c.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CustomCommand/CMakeLists.txt,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- CMakeLists.txt 21 Sep 2006 20:11:25 -0000 1.15
+++ CMakeLists.txt 22 Sep 2006 12:42:45 -0000 1.16
@@ -193,6 +193,7 @@
"${EXPECTED_ARGUMENTS} \"${ARG}\",
")
ENDFOREACH(arg)
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/check_command_line.c.in
${CMAKE_CURRENT_BINARY_DIR}/check_command_line.c
@ONLY IMMEDIATE)
More information about the Cmake-commits
mailing list