summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-08 15:41:48 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-08 15:41:48 (GMT)
commitd1aa17a7b0f3b81367d4eb10e2404a5214f6890a (patch)
tree9402693c7ff8ea4f7c611fb59d69d5c5a953793a /Tests/ComplexOneConfig/CMakeLists.txt
parenta30a41e5ca07a278dbea87fd7d6085e1f6bf9714 (diff)
downloadCMake-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/ComplexOneConfig/CMakeLists.txt')
-rw-r--r--Tests/ComplexOneConfig/CMakeLists.txt7
1 files changed, 0 insertions, 7 deletions
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt
index 5f9b18c..d73bbfc 100644
--- a/Tests/ComplexOneConfig/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/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 ")