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

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


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

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/RuntimePath/CMakeLists.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** CMakeLists.txt	25 Mar 2008 15:27:04 -0000	1.2
--- CMakeLists.txt	8 Jul 2009 15:41:44 -0000	1.3
***************
*** 2,9 ****
  project(RuntimePath C)
  
- if(CMAKE_ANSI_CFLAGS)
-   set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
- endif(CMAKE_ANSI_CFLAGS)
- 
  # Add a simple chain of shared libraries that must be found.
  add_library(foo1 SHARED foo1.c)
--- 2,5 ----



More information about the Cmake-commits mailing list