Merge topic 'test-external-no-bootstrap'

52d0983a Tests: Skip BootstrapTest if testing external CMake

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !916
This commit is contained in:
Brad King 2017-06-01 17:33:16 +00:00 committed by Kitware Robot
commit 987216062e

View File

@ -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()