[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.3 1.4

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


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

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/ReturnTest/CMakeLists.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C 2 -d -r1.3 -r1.4
*** CMakeLists.txt	16 Aug 2008 22:06:17 -0000	1.3
--- CMakeLists.txt	8 Jul 2009 15:41:41 -0000	1.4
***************
*** 3,8 ****
  project (ReturnTest)
  
- set (CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}")
- 
  function (FAILED testname)
    message (SEND_ERROR "${testname} failed ${ARGN}")
--- 3,6 ----



More information about the Cmake-commits mailing list