diff options
author | Brad King <brad.king@kitware.com> | 2009-07-08 15:41:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-08 15:41:48 (GMT) |
commit | d1aa17a7b0f3b81367d4eb10e2404a5214f6890a (patch) | |
tree | 9402693c7ff8ea4f7c611fb59d69d5c5a953793a /Tests/Complex | |
parent | a30a41e5ca07a278dbea87fd7d6085e1f6bf9714 (diff) | |
download | CMake-d1aa17a7b0f3b81367d4eb10e2404a5214f6890a.zip CMake-d1aa17a7b0f3b81367d4eb10e2404a5214f6890a.tar.gz CMake-d1aa17a7b0f3b81367d4eb10e2404a5214f6890a.tar.bz2 |
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.
Diffstat (limited to 'Tests/Complex')
-rw-r--r-- | Tests/Complex/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Tests/Complex/Executable/CMakeLists.txt | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index 5f9b18c..d73bbfc 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -78,13 +78,6 @@ IF(NOT 2.4 EQUAL 2.4) MESSAGE(FATAL_ERROR "Failed: NOT 2.4 EQUAL 2.4") 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) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -timplicit_local -no_implicit_include ") diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index 6f47838..9e86320 100644 --- a/Tests/Complex/Executable/CMakeLists.txt +++ b/Tests/Complex/Executable/CMakeLists.txt @@ -4,7 +4,6 @@ CMAKE_MINIMUM_REQUIRED(VERSION 1.3) # SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_CXX_FLAGS") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DTEST_C_FLAGS") -SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") IF(COMPLEX_TEST_CMAKELIB) # Link to CMake lib |