mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 07:11:05 -06:00
Tests: Skip BootstrapTest if testing external CMake
If we are not actually building CMake then we should not run the `BootstrapTest` (which builds CMake).
This commit is contained in:
@@ -3110,6 +3110,9 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
if(CMake_TEST_EXTERNAL_CMAKE)
|
||||
set(CMAKE_SKIP_BOOTSTRAP_TEST 1)
|
||||
endif()
|
||||
if("${CMAKE_GENERATOR}" MATCHES Xcode)
|
||||
set(CMAKE_SKIP_BOOTSTRAP_TEST 1)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user