summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-09-21 19:26:59 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-09-21 19:26:59 (GMT)
commita89bedfc6e2d64ae300fe0bfabfe48b5db8472ab (patch)
treed640ba4eda7a5dad02bfa60ad8aa1b0cb7c773f5
parenta4c6f178fe1e86002e77401872ead89877109935 (diff)
downloadCMake-a89bedfc6e2d64ae300fe0bfabfe48b5db8472ab.zip
CMake-a89bedfc6e2d64ae300fe0bfabfe48b5db8472ab.tar.gz
CMake-a89bedfc6e2d64ae300fe0bfabfe48b5db8472ab.tar.bz2
For the complex tests since they link to the CMake library make sure that they are built with the type of build.
-rw-r--r--Tests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 09ec374..4f8b1db 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -485,6 +485,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
--build-options
-DCMAKE_TEST_DIFFERENT_GENERATOR:BOOL=${CMAKE_TEST_DIFFERENT_GENERATOR}
-DCMAKE_TEST_SYSTEM_LIBRARIES:BOOL=${CMAKE_TEST_SYSTEM_LIBRARIES}
+ -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
--test-command complex
)
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/Complex")
@@ -500,6 +501,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
--build-options
-DCMAKE_TEST_DIFFERENT_GENERATOR:BOOL=${CMAKE_TEST_DIFFERENT_GENERATOR}
-DCMAKE_TEST_SYSTEM_LIBRARIES:BOOL=${CMAKE_TEST_SYSTEM_LIBRARIES}
+ -DCMAKE_BUILD_TYPE:STRING=${CMAKE_BUILD_TYPE}
--test-command complex)
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/ComplexOneConfig")