[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.7 1.8

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


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

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/Import/CMakeLists.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -C 2 -d -r1.7 -r1.8
*** CMakeLists.txt	6 Apr 2009 15:11:15 -0000	1.7
--- CMakeLists.txt	8 Jul 2009 15:41:25 -0000	1.8
***************
*** 2,10 ****
  project(Import C)
  
- # We need ansi C support.
- if(CMAKE_ANSI_CFLAGS)
-   set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
- endif(CMAKE_ANSI_CFLAGS)
- 
  # Import everything in a subdirectory.
  add_subdirectory(A)
--- 2,5 ----



More information about the Cmake-commits mailing list