[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.74 1.75

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


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

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/Complex/CMakeLists.txt,v
retrieving revision 1.74
retrieving revision 1.75
diff -C 2 -d -r1.74 -r1.75
*** CMakeLists.txt	16 Mar 2009 20:55:58 -0000	1.74
--- CMakeLists.txt	8 Jul 2009 15:41:11 -0000	1.75
***************
*** 79,89 ****
  ENDIF(NOT 2.4 EQUAL 2.4)
  
- #
- # Use the ansi CXX compile flag for building cmake
- #
- IF (CMAKE_ANSI_CXXFLAGS)
-   SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}")  
- ENDIF (CMAKE_ANSI_CXXFLAGS)
- 
  IF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
    IF(NOT CMAKE_COMPILER_IS_GNUCXX)
--- 79,82 ----



More information about the Cmake-commits mailing list