diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-08-01 02:25:39 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-08-01 02:25:39 (GMT) |
commit | efc41c634cecd30de5396d00f18d5f9f780f41c6 (patch) | |
tree | cf1f4a86c2d3d1289cea18678cb2fe4c0d56ee69 /Tests | |
parent | bebc745824920465c9df5fee9baf9b6f8a35d34f (diff) | |
download | CMake-efc41c634cecd30de5396d00f18d5f9f780f41c6.zip CMake-efc41c634cecd30de5396d00f18d5f9f780f41c6.tar.gz CMake-efc41c634cecd30de5396d00f18d5f9f780f41c6.tar.bz2 |
ENH: use ansi flags
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/Executable/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/CMakeLists.txt | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index e36dc26..11332d1 100644 --- a/Tests/Complex/Executable/CMakeLists.txt +++ b/Tests/Complex/Executable/CMakeLists.txt @@ -4,6 +4,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 1.3) # SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_CXX_FLAGS") SET(CMAKE_C_FLAGS "${CMAKE_C} -DTEST_C_FLAGS") +SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") # Link to CMake lib LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source) diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt index e36dc26..11332d1 100644 --- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt +++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt @@ -4,6 +4,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 1.3) # SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_CXX_FLAGS") SET(CMAKE_C_FLAGS "${CMAKE_C} -DTEST_C_FLAGS") +SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") # Link to CMake lib LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source) diff --git a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt index e36dc26..11332d1 100644 --- a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt @@ -4,6 +4,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 1.3) # SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_CXX_FLAGS") SET(CMAKE_C_FLAGS "${CMAKE_C} -DTEST_C_FLAGS") +SET(CMAKE_C_FLAGS "${CMAKE_ANSI_CFLAGS} ${CMAKE_C_FLAGS}") # Link to CMake lib LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source) |