1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-15 20:46:37 +08:00

cmGlobalVisualStudio7Generator: fix initialization typo

Typo introduced in b82a74d918 (generators: use GetSupportDirectory() in
more places, 2025-05-21) via !10812. Pointed out in a PVS-Studio blog
post.

See: https://pvs-studio.com/en/blog/posts/cpp/1277/ (N3)
This commit is contained in:
Ben Boeckel
2025-08-20 22:40:31 -04:00
parent d296bf6b70
commit 93a83bcc00

View File

@@ -623,7 +623,7 @@ std::string cmGlobalVisualStudio7Generator::WriteUtilityDepend(
target->GetLocalGenerator()->MaybeRelativeToCurBinDir(
cmStrCat(target->GetSupportDirectory(), '\\'));
for (std::string const& i : configs) {
std::string intDir = cmStrCat(intDir, i);
std::string intDir = cmStrCat(intDirPrefix, i);
/* clang-format off */
fout <<