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/Dependency | |
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/Dependency')
-rw-r--r-- | Tests/Dependency/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/Dependency/Case4/CMakeLists.txt | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Tests/Dependency/CMakeLists.txt b/Tests/Dependency/CMakeLists.txt index d700374..86e128f 100644 --- a/Tests/Dependency/CMakeLists.txt +++ b/Tests/Dependency/CMakeLists.txt @@ -1,8 +1,6 @@ cmake_minimum_required (VERSION 2.6) PROJECT( Dependency ) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") - # to test directories with only one character One was changed to 1 # There is one executable that depends on eight libraries. The # system has the following dependency graph: diff --git a/Tests/Dependency/Case4/CMakeLists.txt b/Tests/Dependency/Case4/CMakeLists.txt index 87ab507..a71049d 100644 --- a/Tests/Dependency/Case4/CMakeLists.txt +++ b/Tests/Dependency/Case4/CMakeLists.txt @@ -1,9 +1,5 @@ project(CASE4 C) -IF(CMAKE_ANSI_CFLAGS) - SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") -ENDIF(CMAKE_ANSI_CFLAGS) - # This is not really a circular dependency. "case4Bar" refers to a # third-party library that happens to match the executable name, which # is okay when the executable is not a linkable target (ENABLE_EXPORTS |