diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-06-18 12:54:07 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-06-18 12:54:07 (GMT) |
commit | 0065bc5fa0e83ed572ff0ce554cd2f52ea9d0926 (patch) | |
tree | a3331b1fbbf3546def51e20af75fd199f28db1cd /Tests | |
parent | f844304465c0c8aeb900480e2d7178b5f576261e (diff) | |
download | CMake-0065bc5fa0e83ed572ff0ce554cd2f52ea9d0926.zip CMake-0065bc5fa0e83ed572ff0ce554cd2f52ea9d0926.tar.gz CMake-0065bc5fa0e83ed572ff0ce554cd2f52ea9d0926.tar.bz2 |
ENH: try and fix link problem on dec
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/CMakeLists.txt | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/Tests/Complex/CMakeLists.txt b/Tests/Complex/CMakeLists.txt index 58a1281..9eefd8b 100644 --- a/Tests/Complex/CMakeLists.txt +++ b/Tests/Complex/CMakeLists.txt @@ -12,6 +12,13 @@ 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} -tweak -no_implicit_include ") + ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) +ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V.*") + + ADD_DEFINITIONS(-DCMAKE_IS_FUN) SET(TEST_SEP "a b c") diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt index 58a1281..9eefd8b 100644 --- a/Tests/ComplexOneConfig/CMakeLists.txt +++ b/Tests/ComplexOneConfig/CMakeLists.txt @@ -12,6 +12,13 @@ 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} -tweak -no_implicit_include ") + ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) +ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V.*") + + ADD_DEFINITIONS(-DCMAKE_IS_FUN) SET(TEST_SEP "a b c") diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt index 58a1281..9eefd8b 100644 --- a/Tests/ComplexRelativePaths/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/CMakeLists.txt @@ -12,6 +12,13 @@ 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} -tweak -no_implicit_include ") + ENDIF(NOT CMAKE_COMPILER_IS_GNUCXX) +ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V.*") + + ADD_DEFINITIONS(-DCMAKE_IS_FUN) SET(TEST_SEP "a b c") |