summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-27 08:39:56 -0400
committerBrad King <brad.king@kitware.com>2020-04-28 07:03:07 -0400
commit98aa628f0b1ceb04f0d0ac63fc96df57c7c5f76b (patch)
tree80d57b835f8ef241c1d11cca5b2bb47713df3274
parent4c82f309c59d02899145bc25c0e9efc91a6f64ed (diff)
downloadcmake-98aa628f0b1ceb04f0d0ac63fc96df57c7c5f76b.tar.gz
Makefiles: Scan Objective C/C++ preprocessor dependencies
Fixes: #20635
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 919fb74a22..6f2183dce6 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1457,7 +1457,7 @@ bool cmLocalUnixMakefileGenerator3::ScanDependencies(
// Create the scanner for this language
std::unique_ptr<cmDepends> scanner;
if (lang == "C" || lang == "CXX" || lang == "RC" || lang == "ASM" ||
- lang == "CUDA") {
+ lang == "OBJC" || lang == "OBJCXX" || lang == "CUDA") {
// TODO: Handle RC (resource files) dependencies correctly.
scanner = cm::make_unique<cmDependsC>(this, targetDir, lang, &validDeps);
}