[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.17 1.18

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


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

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/ExportImport/Export/CMakeLists.txt,v
retrieving revision 1.17
retrieving revision 1.18
diff -C 2 -d -r1.17 -r1.18
*** CMakeLists.txt	1 May 2009 13:45:42 -0000	1.17
--- CMakeLists.txt	8 Jul 2009 15:41:25 -0000	1.18
***************
*** 2,10 ****
  project(Export C)
  
- # We need ansi C support.
- if(CMAKE_ANSI_CFLAGS)
-   set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
- endif(CMAKE_ANSI_CFLAGS)
- 
  # Pretend that RelWithDebInfo should link to debug libraries to test
  # the DEBUG_CONFIGURATIONS property.
--- 2,5 ----



More information about the Cmake-commits mailing list