|
|
@@ -77,7 +77,7 @@ if(BUILD_TESTING)
|
|
|
# some old versions of make simply cannot handle spaces in paths
|
|
|
if (MAKE_IS_GNU OR
|
|
|
CMAKE_MAKE_PROGRAM MATCHES "nmake|gmake|wmake" OR
|
|
|
- CMAKE_GENERATOR MATCHES "Visual Studio|XCode|Borland")
|
|
|
+ CMAKE_GENERATOR MATCHES "Visual Studio|Xcode|Borland")
|
|
|
set(MAKE_SUPPORTS_SPACES 1)
|
|
|
else()
|
|
|
set(MAKE_SUPPORTS_SPACES 0)
|
|
|
@@ -1502,7 +1502,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release
|
|
|
)
|
|
|
endif()
|
|
|
|
|
|
- if(MAKE_SUPPORTS_SPACES)
|
|
|
+ if(MAKE_SUPPORTS_SPACES AND NOT CMAKE_GENERATOR STREQUAL "Xcode")
|
|
|
add_test(SubDirSpaces ${CMAKE_CTEST_COMMAND}
|
|
|
--build-and-test
|
|
|
"${CMake_SOURCE_DIR}/Tests/SubDirSpaces"
|