[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.45 1.46

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jul 8 11:41:20 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/CustomCommand
In directory public:/mounts/ram/cvs-serv23655/Tests/CustomCommand

Modified Files:
	CMakeLists.txt 
Log Message:
ENH: Remove CMAKE_ANSI_CFLAGS from tests

As of CMake 2.6 this variable is not defined, and the ANSI flags for the
HP compiler are simply hard-coded in the default C flags.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CustomCommand/CMakeLists.txt,v
retrieving revision 1.45
retrieving revision 1.46
diff -C 2 -d -r1.45 -r1.46
*** CMakeLists.txt	18 Dec 2008 18:36:58 -0000	1.45
--- CMakeLists.txt	8 Jul 2009 15:41:15 -0000	1.46
***************
*** 355,359 ****
  ")
  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
--- 355,358 ----



More information about the Cmake-commits mailing list