mirror of
https://github.com/reactos/CMake.git
synced 2025-02-25 14:41:16 +00: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:
parent
de16ff3e58
commit
52d0983a88
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user