Use the correct CMake (the freshly built one) to drive the CMakeWizardTest.
This commit is contained in:
parent
d542cc01cb
commit
a6facbcca3
|
@ -1312,7 +1312,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
|
|||
)
|
||||
ENDIF(NOT EXISTS "${CMAKE_BINARY_DIR}/CMakeLists.txt")
|
||||
|
||||
ADD_TEST(CMakeWizardTest ${CMAKE_COMMAND}
|
||||
ADD_TEST(CMakeWizardTest ${CMAKE_CMAKE_COMMAND}
|
||||
-D build_dir:STRING=${CMAKE_CURRENT_BINARY_DIR}/CMakeWizardTest
|
||||
-D source_dir:STRING=${CMAKE_CURRENT_SOURCE_DIR}/Tutorial/Step3
|
||||
-D CMAKE_CTEST_COMMAND:STRING=${CMAKE_CTEST_COMMAND}
|
||||
|
|
Loading…
Reference in New Issue