summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-05-31 23:46:01 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-06-16 14:28:34 (GMT)
commita046a45aada109861741f45bc6b097e15084ddd4 (patch)
tree96d579c856156e4ce3bfacfca13cb74bcd972a03 /Source/cmGlobalNinjaGenerator.cxx
parent386465bf8396dca8d00448b23734bc5edafb17c8 (diff)
downloadCMake-a046a45aada109861741f45bc6b097e15084ddd4.zip
CMake-a046a45aada109861741f45bc6b097e15084ddd4.tar.gz
CMake-a046a45aada109861741f45bc6b097e15084ddd4.tar.bz2
cmGlobalNinjaGenerator: add a TODO for header units
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r--Source/cmGlobalNinjaGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx
index fcd3b23..9c1d4e5 100644
--- a/Source/cmGlobalNinjaGenerator.cxx
+++ b/Source/cmGlobalNinjaGenerator.cxx
@@ -2555,7 +2555,8 @@ bool cmGlobalNinjaGenerator::WriteDyndepFile(
}
} else {
// Assume the module file path matches the logical module name.
- std::string safe_logical_name = p.LogicalName;
+ std::string safe_logical_name =
+ p.LogicalName; // TODO: needs fixing for header units
cmSystemTools::ReplaceString(safe_logical_name, ":", "-");
mod = cmStrCat(module_dir, safe_logical_name, module_ext);
}