summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Ostlund <samostlund@gmail.com>2019-07-16 21:06:34 (GMT)
committerSamuel Ostlund <samostlund@gmail.com>2019-07-16 21:06:34 (GMT)
commit8738e2584a111de065341296dcfa1f4ac9c68346 (patch)
tree10b07cac95f0fd630f34f3ba26c6959fa28f2aae
parentc3d9d800157a8fe2c0478d7e054544b99694c240 (diff)
downloadCMake-8738e2584a111de065341296dcfa1f4ac9c68346.zip
CMake-8738e2584a111de065341296dcfa1f4ac9c68346.tar.gz
CMake-8738e2584a111de065341296dcfa1f4ac9c68346.tar.bz2
cmGlobalNinjaGenerator: Use gnu compatible paths with QCC
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index 69a7da9..7e81a54 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -639,7 +639,9 @@ void cmGlobalNinjaGenerator::EnableLanguage(
(mf->GetSafeDefinition("CMAKE_C_COMPILER_ID") == "GNU") ||
(mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID") == "GNU") ||
(mf->GetSafeDefinition("CMAKE_C_COMPILER_ID") == "Clang") ||
- (mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID") == "Clang")))) {
+ (mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID") == "Clang") ||
+ (mf->GetSafeDefinition("CMAKE_C_COMPILER_ID") == "QCC") ||
+ (mf->GetSafeDefinition("CMAKE_CXX_COMPILER_ID") == "QCC")))) {
this->UsingGCCOnWindows = true;
}
#endif