mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 10:20:56 -06:00
cmGlobalVisualStudioGenerator: Fix compiling as C++20 in VS 2022
Adding missing narrow string conversion.
This commit is contained in:
@@ -620,7 +620,8 @@ bool IsVisualStudioMacrosFileRegistered(const std::string& macrosFile,
|
||||
|
||||
RegCloseKey(hsubkey);
|
||||
} else {
|
||||
std::cout << "error opening subkey: " << subkeyname << std::endl;
|
||||
std::cout << "error opening subkey: "
|
||||
<< cmsys::Encoding::ToNarrow(subkeyname) << std::endl;
|
||||
std::cout << std::endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user