diff options
author | Martin Kojtal <martin.kojtal@arm.com> | 2021-08-25 10:04:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-09-02 15:40:17 (GMT) |
commit | b6cf93472fe25d6c91d893cd1d243dc2d0e160bb (patch) | |
tree | 479de9717ddab1290d8feea60d9ce2ed1e809572 /Source | |
parent | 31c5700d4322ecfa169db2fccf385d6eced4e737 (diff) | |
download | CMake-b6cf93472fe25d6c91d893cd1d243dc2d0e160bb.zip CMake-b6cf93472fe25d6c91d893cd1d243dc2d0e160bb.tar.gz CMake-b6cf93472fe25d6c91d893cd1d243dc2d0e160bb.tar.bz2 |
Ninja: fix ARMClang paths for Windows
We need to escape paths for ARMClang on Windows, see the referenced
issue for more details.
Fixes: #21093
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 963118f..971a462 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -952,6 +952,8 @@ void cmGlobalNinjaGenerator::EnableLanguage( (mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID") == "GNU") || (mf->GetSafeDefinition("CMAKE_C_COMPILER_ID") == "Clang") || (mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID") == "Clang") || + (mf->GetSafeDefinition("CMAKE_C_COMPILER_ID") == "ARMClang") || + (mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID") == "ARMClang") || (mf->GetSafeDefinition("CMAKE_C_COMPILER_ID") == "QCC") || (mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID") == "QCC")))) { this->UsingGCCOnWindows = true; |