[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.5 1.6

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


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

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/Plugin/CMakeLists.txt,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** CMakeLists.txt	15 Jun 2009 14:55:21 -0000	1.5
--- CMakeLists.txt	8 Jul 2009 15:41:35 -0000	1.6
***************
*** 7,15 ****
  SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${Plugin_BINARY_DIR}/lib/static)
  
- # We need ansi C support.
- IF(CMAKE_ANSI_CFLAGS)
-   SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
- ENDIF(CMAKE_ANSI_CFLAGS)
- 
  # We need the dynamic loader support from KWSys to load the plugin in
  # the executable.
--- 7,10 ----



More information about the Cmake-commits mailing list