diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2020-01-07 12:40:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-01-09 18:52:37 (GMT) |
commit | 1a9f6bad987d9b08330e59451955a8df9db21c3b (patch) | |
tree | 594407b9d7375bfa71f4c2d19d59e034d52e31db /Source/cmMakefileTargetGenerator.cxx | |
parent | d4d11b17078a6690aca122d7f7ec62475cedccfc (diff) | |
download | CMake-1a9f6bad987d9b08330e59451955a8df9db21c3b.zip CMake-1a9f6bad987d9b08330e59451955a8df9db21c3b.tar.gz CMake-1a9f6bad987d9b08330e59451955a8df9db21c3b.tar.bz2 |
ObjC: Add _COMPILE_LAUNCHER support
Fixes: #20178
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileTargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx index a9f68a6..77b6bc2 100644 --- a/Source/cmMakefileTargetGenerator.cxx +++ b/Source/cmMakefileTargetGenerator.cxx @@ -754,8 +754,8 @@ void cmMakefileTargetGenerator::WriteObjectRuleFiles( // See if we need to use a compiler launcher like ccache or distcc std::string compilerLauncher; if (!compileCommands.empty() && - (lang == "C" || lang == "CXX" || lang == "Fortran" || - lang == "CUDA")) { + (lang == "C" || lang == "CXX" || lang == "Fortran" || lang == "CUDA" || + lang == "OBJC" || lang == "OBJCXX")) { std::string const clauncher_prop = lang + "_COMPILER_LAUNCHER"; const char* clauncher = this->GeneratorTarget->GetProperty(clauncher_prop); |