summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-28 11:09:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-28 11:10:07 (GMT)
commit0ce29c7c1dff5b9b4a2eac5137e05474dc552358 (patch)
tree84374b73ec899128afd2bc697fb588fe5cb7d0df /Source/cmLocalUnixMakefileGenerator3.cxx
parent6b6f6e237b8a965dc2610986ffa33d1f0efb4b74 (diff)
parentc4d09fdc6d563570ef779244751e0088c83ea096 (diff)
downloadCMake-0ce29c7c1dff5b9b4a2eac5137e05474dc552358.zip
CMake-0ce29c7c1dff5b9b4a2eac5137e05474dc552358.tar.gz
CMake-0ce29c7c1dff5b9b4a2eac5137e05474dc552358.tar.bz2
Merge topic 'makefile-objc'
c4d09fdc6d Makefiles: Add Objective C/C++ compilations to compile_commands.json 98aa628f0b Makefiles: Scan Objective C/C++ preprocessor dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4675
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index aa8912e..1401e29 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1442,7 +1442,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);
}