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/ExportImport | |
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/ExportImport')
-rw-r--r-- | Tests/ExportImport/Export/CMakeLists.txt | 5 | ||||
-rw-r--r-- | Tests/ExportImport/Import/CMakeLists.txt | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/Tests/ExportImport/Export/CMakeLists.txt b/Tests/ExportImport/Export/CMakeLists.txt index ebfe8d3..4de3f64 100644 --- a/Tests/ExportImport/Export/CMakeLists.txt +++ b/Tests/ExportImport/Export/CMakeLists.txt @@ -1,11 +1,6 @@ cmake_minimum_required (VERSION 2.6) project(Export C) -# We need ansi C support. -if(CMAKE_ANSI_CFLAGS) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") -endif(CMAKE_ANSI_CFLAGS) - # Pretend that RelWithDebInfo should link to debug libraries to test # the DEBUG_CONFIGURATIONS property. set_property(GLOBAL PROPERTY DEBUG_CONFIGURATIONS Debug RelWithDebInfo) diff --git a/Tests/ExportImport/Import/CMakeLists.txt b/Tests/ExportImport/Import/CMakeLists.txt index 00bf306..eb3a954 100644 --- a/Tests/ExportImport/Import/CMakeLists.txt +++ b/Tests/ExportImport/Import/CMakeLists.txt @@ -1,11 +1,6 @@ cmake_minimum_required (VERSION 2.6) project(Import C) -# We need ansi C support. -if(CMAKE_ANSI_CFLAGS) - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}") -endif(CMAKE_ANSI_CFLAGS) - # Import everything in a subdirectory. add_subdirectory(A) |