summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-27 12:39:56 (GMT)
committerBrad King <brad.king@kitware.com>2020-04-28 11:03:07 (GMT)
commit98aa628f0b1ceb04f0d0ac63fc96df57c7c5f76b (patch)
tree80d57b835f8ef241c1d11cca5b2bb47713df3274 /Source
parent4c82f309c59d02899145bc25c0e9efc91a6f64ed (diff)
downloadCMake-98aa628f0b1ceb04f0d0ac63fc96df57c7c5f76b.zip
CMake-98aa628f0b1ceb04f0d0ac63fc96df57c7c5f76b.tar.gz
CMake-98aa628f0b1ceb04f0d0ac63fc96df57c7c5f76b.tar.bz2
Makefiles: Scan Objective C/C++ preprocessor dependencies
Fixes: #20635
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 919fb74..6f2183d 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);
}