summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommandOneConfig
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-04-16 17:33:33 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-04-16 17:33:33 (GMT)
commita41e31b5369ea281809ae22e66eb4a839efc1aed (patch)
tree5fb89d34a22d0ae11ea636e45a83fb75b150aebb /Tests/LoadCommandOneConfig
parent0870efbe4612fd9c0ce70b2753517b67c3a686b1 (diff)
downloadCMake-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/LoadCommandOneConfig')
-rw-r--r--Tests/LoadCommandOneConfig/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
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}")