mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-19 11:18:40 +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:
@@ -623,7 +623,7 @@ std::string cmGlobalVisualStudio7Generator::WriteUtilityDepend(
|
|||||||
target->GetLocalGenerator()->MaybeRelativeToCurBinDir(
|
target->GetLocalGenerator()->MaybeRelativeToCurBinDir(
|
||||||
cmStrCat(target->GetSupportDirectory(), '\\'));
|
cmStrCat(target->GetSupportDirectory(), '\\'));
|
||||||
for (std::string const& i : configs) {
|
for (std::string const& i : configs) {
|
||||||
std::string intDir = cmStrCat(intDir, i);
|
std::string intDir = cmStrCat(intDirPrefix, i);
|
||||||
|
|
||||||
/* clang-format off */
|
/* clang-format off */
|
||||||
fout <<
|
fout <<
|
||||||
|
Reference in New Issue
Block a user