mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
Makefiles: Scan Objective C/C++ preprocessor dependencies
Fixes: #20635
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user