diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-22 18:57:41 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2022-11-29 17:39:29 (GMT) |
commit | 07172aa31ec468baea0dc3e52ce6f706f55d6f12 (patch) | |
tree | e8c4dda31188b6acc14519902728195faf275734 /Source/cmGlobalVisualStudio10Generator.cxx | |
parent | c61ece5c40a30e99e0f3a45c76dd802a14e4db96 (diff) | |
download | CMake-07172aa31ec468baea0dc3e52ce6f706f55d6f12.zip CMake-07172aa31ec468baea0dc3e52ce6f706f55d6f12.tar.gz CMake-07172aa31ec468baea0dc3e52ce6f706f55d6f12.tar.bz2 |
clang-tidy: fix `readability-redundant-string-cstr` lints
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.cxx b/Source/cmGlobalVisualStudio10Generator.cxx index 969b801..ecf6539 100644 --- a/Source/cmGlobalVisualStudio10Generator.cxx +++ b/Source/cmGlobalVisualStudio10Generator.cxx @@ -776,7 +776,7 @@ std::string cmGlobalVisualStudio10Generator::FindMSBuildCommand() mskey = cmStrCat( "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\MSBuild\\ToolsVersions\\", this->GetToolsVersion(), ";MSBuildToolsPath"); - if (cmSystemTools::ReadRegistryValue(mskey.c_str(), msbuild, + if (cmSystemTools::ReadRegistryValue(mskey, msbuild, cmSystemTools::KeyWOW64_32)) { cmSystemTools::ConvertToUnixSlashes(msbuild); msbuild += "/MSBuild.exe"; |