mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
cmGlobalNinjaGenerator: simplify a string building call
This commit is contained in:
@@ -2517,7 +2517,7 @@ bool cmGlobalNinjaGenerator::WriteDyndepFile(
|
||||
// Populate the module map with those provided by linked targets first.
|
||||
for (std::string const& linked_target_dir : linked_target_dirs) {
|
||||
std::string const ltmn =
|
||||
cmStrCat(linked_target_dir, "/", arg_lang, "Modules.json");
|
||||
cmStrCat(linked_target_dir, '/', arg_lang, "Modules.json");
|
||||
Json::Value ltm;
|
||||
cmsys::ifstream ltmf(ltmn.c_str(), std::ios::in | std::ios::binary);
|
||||
Json::Reader reader;
|
||||
|
||||
Reference in New Issue
Block a user