mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-21 22:20:48 -06:00
cmake -E: Fix cmake_transform_depfile escaping of transformed paths
In commit b2c14bc774 (cmake -E: Add cmake_transform_depfile internal
command, 2020-10-02) we forgot to use `WriteFilenameGcc` in one place.
This commit is contained in:
@@ -47,7 +47,8 @@ void WriteGccDepfile(cmsys::ofstream& fout, const cmGccDepfileContent& content)
|
|||||||
}
|
}
|
||||||
fout << ':';
|
fout << ':';
|
||||||
for (auto const& path : dep.paths) {
|
for (auto const& path : dep.paths) {
|
||||||
fout << " \\\n " << path;
|
fout << " \\\n ";
|
||||||
|
WriteFilenameGcc(fout, path);
|
||||||
}
|
}
|
||||||
fout << '\n';
|
fout << '\n';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user