diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:14:23 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:14:23 +0900 |
commit | 673b21719eea1405c2e96df62abe022cd82a73ad (patch) | |
tree | 35b9aa5502f03ecca02a9111e999b1828e7b8415 /Source/cmNinjaTargetGenerator.cxx | |
parent | a29c56f9e049bc76021843cf77afe4474bc6a493 (diff) | |
download | cmake-673b21719eea1405c2e96df62abe022cd82a73ad.tar.gz cmake-673b21719eea1405c2e96df62abe022cd82a73ad.tar.bz2 cmake-673b21719eea1405c2e96df62abe022cd82a73ad.zip |
Imported Upstream version 3.16.3upstream/3.16.3
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 919a5dbb3..0aab9127b 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -702,7 +702,8 @@ void cmNinjaTargetGenerator::WriteCompileRule(const std::string& lang) // See if we need to use a compiler launcher like ccache or distcc std::string compilerLauncher; if (!compileCmds.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); if (clauncher && *clauncher) { |