diff options
author | Samuel Ostlund <samostlund@gmail.com> | 2019-07-16 21:06:34 (GMT) |
---|---|---|
committer | Samuel Ostlund <samostlund@gmail.com> | 2019-07-16 21:06:34 (GMT) |
commit | 8738e2584a111de065341296dcfa1f4ac9c68346 (patch) | |
tree | 10b07cac95f0fd630f34f3ba26c6959fa28f2aae | |
parent | c3d9d800157a8fe2c0478d7e054544b99694c240 (diff) | |
download | CMake-8738e2584a111de065341296dcfa1f4ac9c68346.zip CMake-8738e2584a111de065341296dcfa1f4ac9c68346.tar.gz CMake-8738e2584a111de065341296dcfa1f4ac9c68346.tar.bz2 |
cmGlobalNinjaGenerator: Use gnu compatible paths with QCC
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 4 |
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 |