diff options
-rw-r--r-- | Source/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 7d274e5..8b75c85 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -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} |