ENH: turn on spaces test for more platforms
This commit is contained in:
parent
d999d0240d
commit
806001bbb6
|
@ -1016,7 +1016,7 @@ IF(BUILD_TESTING)
|
|||
# only add this test on platforms that support it
|
||||
# some old versions of make simply cannot handle spaces in paths
|
||||
IF ("${CMAKE_TEST_MAKEPROGRAM}" MATCHES "nmake|gmake|wmake" OR
|
||||
"${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio|XCode")
|
||||
"${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio|Xcode")
|
||||
ADD_TEST(SubDirSpaces ${CMAKE_CTEST_COMMAND}
|
||||
--build-and-test
|
||||
"${CMake_SOURCE_DIR}/Tests/SubDirSpaces"
|
||||
|
@ -1031,7 +1031,7 @@ IF(BUILD_TESTING)
|
|||
"${CMake_BINARY_DIR}/Tests/SubDirSpaces/testfromsubdir.obj"
|
||||
)
|
||||
ENDIF ("${CMAKE_TEST_MAKEPROGRAM}" MATCHES "nmake|gmake|wmake" OR
|
||||
"${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio|XCode")
|
||||
"${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio|Xcode")
|
||||
|
||||
IF (WIN32)
|
||||
ADD_TEST(SubDir ${CMAKE_CTEST_COMMAND}
|
||||
|
|
Loading…
Reference in New Issue