mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 13:18:37 -06:00
Tests: Enable MAKE_SUPPORTS_SPACES tests with Ninja generators
This commit is contained in:
@@ -96,7 +96,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|Ninja")
|
||||
set(MAKE_SUPPORTS_SPACES 1)
|
||||
else()
|
||||
set(MAKE_SUPPORTS_SPACES 0)
|
||||
|
||||
Reference in New Issue
Block a user