Tests: Disable SubDirSpaces test on Open Watcom

Open Watcom 1.9 does not support spaces in the path.
This commit is contained in:
Brad King
2021-10-15 14:45:38 -04:00
parent c5ae200d94
commit 94404e912e
+1 -1
View File
@@ -2019,7 +2019,7 @@ if(BUILD_TESTING)
)
endif()
if(MAKE_SUPPORTS_SPACES AND NOT CMAKE_GENERATOR STREQUAL "Xcode")
if(MAKE_SUPPORTS_SPACES AND NOT CMAKE_GENERATOR STREQUAL "Xcode" AND NOT CMAKE_GENERATOR STREQUAL "Watcom WMake")
add_test(SubDirSpaces ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/SubDirSpaces"