diff options
author | Ken Martin <ken.martin@kitware.com> | 2001-08-28 20:06:52 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2001-08-28 20:06:52 (GMT) |
commit | 74ef4e4e583537b3d7a5a9e87bcb6e45238558d2 (patch) | |
tree | 1a75e5c2707324a669d2c31686b7fbcef39b299d /Tests | |
parent | f85fc7cda1e6caa625eee71019bcb57c932ba0ab (diff) | |
download | CMake-74ef4e4e583537b3d7a5a9e87bcb6e45238558d2.zip CMake-74ef4e4e583537b3d7a5a9e87bcb6e45238558d2.tar.gz CMake-74ef4e4e583537b3d7a5a9e87bcb6e45238558d2.tar.bz2 |
minor fix
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/CMakeLists.txt | 4 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/CMakeLists.txt | 4 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/CMakeLists.txt | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index 3b06b84..83f7874 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -2,7 +2,9 @@ PROJECT (Complex) # use the ansi CXX compile flag for building cmake -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") +IF (CMAKE_ANSI_CXXFLAGS) + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") +ENDIF (CMAKE_ANSI_CXXFLAGS) ADD_DEFINITIONS(-DCMAKE_IS_FUN) SUBDIRS(Library Executable) diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index 3b06b84..83f7874 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -2,7 +2,9 @@ PROJECT (Complex) # use the ansi CXX compile flag for building cmake -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") +IF (CMAKE_ANSI_CXXFLAGS) + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") +ENDIF (CMAKE_ANSI_CXXFLAGS) ADD_DEFINITIONS(-DCMAKE_IS_FUN) SUBDIRS(Library Executable) diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index 3b06b84..83f7874 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -2,7 +2,9 @@ PROJECT (Complex) # use the ansi CXX compile flag for building cmake -SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") +IF (CMAKE_ANSI_CXXFLAGS) + SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}") +ENDIF (CMAKE_ANSI_CXXFLAGS) ADD_DEFINITIONS(-DCMAKE_IS_FUN) SUBDIRS(Library Executable) |