diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-04-16 17:33:33 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-04-16 17:33:33 (GMT) |
commit | a41e31b5369ea281809ae22e66eb4a839efc1aed (patch) | |
tree | 5fb89d34a22d0ae11ea636e45a83fb75b150aebb /Tests | |
parent | 0870efbe4612fd9c0ce70b2753517b67c3a686b1 (diff) | |
download | CMake-a41e31b5369ea281809ae22e66eb4a839efc1aed.zip CMake-a41e31b5369ea281809ae22e66eb4a839efc1aed.tar.gz CMake-a41e31b5369ea281809ae22e66eb4a839efc1aed.tar.bz2 |
ENH: add a double try compile to fix crazy make on hp
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/LoadCommand/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Tests/LoadCommandOneConfig/CMakeLists.txt | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Tests/LoadCommand/CMakeLists.txt b/Tests/LoadCommand/CMakeLists.txt index c6706f9..1913864 100644 --- a/Tests/LoadCommand/CMakeLists.txt +++ b/Tests/LoadCommand/CMakeLists.txt @@ -30,6 +30,13 @@ ELSE(COMMAND CMAKE_TEST_COMMAND) ${LoadedCommand_SOURCE_DIR}/CMakeCommands CMAKE_LOADED_COMMANDS CMAKE_FLAGS -DMUDSLIDE_TYPE:STRING=MUCHO OUTPUT_VARIABLE OUTPUT ) +# do another TRY_COMPILE to get around make +# problem on hp + TRY_COMPILE(COMPILE_OK + ${LoadedCommand_BINARY_DIR}/CMakeCommands + ${LoadedCommand_SOURCE_DIR}/CMakeCommands + CMAKE_LOADED_COMMANDS CMAKE_FLAGS -DMUDSLIDE_TYPE:STRING=MUCHO + OUTPUT_VARIABLE OUTPUT ) ENDIF(COMMAND CMAKE_TEST_COMMAND) MESSAGE("Output from try compile: ${OUTPUT}") diff --git a/Tests/LoadCommandOneConfig/CMakeLists.txt b/Tests/LoadCommandOneConfig/CMakeLists.txt index c6706f9..1913864 100644 --- a/Tests/LoadCommandOneConfig/CMakeLists.txt +++ b/Tests/LoadCommandOneConfig/CMakeLists.txt @@ -30,6 +30,13 @@ ELSE(COMMAND CMAKE_TEST_COMMAND) ${LoadedCommand_SOURCE_DIR}/CMakeCommands CMAKE_LOADED_COMMANDS CMAKE_FLAGS -DMUDSLIDE_TYPE:STRING=MUCHO OUTPUT_VARIABLE OUTPUT ) +# do another TRY_COMPILE to get around make +# problem on hp + TRY_COMPILE(COMPILE_OK + ${LoadedCommand_BINARY_DIR}/CMakeCommands + ${LoadedCommand_SOURCE_DIR}/CMakeCommands + CMAKE_LOADED_COMMANDS CMAKE_FLAGS -DMUDSLIDE_TYPE:STRING=MUCHO + OUTPUT_VARIABLE OUTPUT ) ENDIF(COMMAND CMAKE_TEST_COMMAND) MESSAGE("Output from try compile: ${OUTPUT}") |