[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.1 1.2

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


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

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/Dependency/Case4/CMakeLists.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** CMakeLists.txt	7 Aug 2008 14:13:15 -0000	1.1
--- CMakeLists.txt	8 Jul 2009 15:41:22 -0000	1.2
***************
*** 1,8 ****
  project(CASE4 C)
  
- IF(CMAKE_ANSI_CFLAGS)
-   SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
- ENDIF(CMAKE_ANSI_CFLAGS)
- 
  # This is not really a circular dependency.  "case4Bar" refers to a
  # third-party library that happens to match the executable name, which
--- 1,4 ----



More information about the Cmake-commits mailing list