cmGlobalVisualStudioGenerator: Fix compiling as C++20 in VS 2022
Adding missing narrow string conversion.
This backports !7814 (merged) to the CMake 3.23 and 3.24 branches.
Fixes: #24162 (closed)
Adding missing narrow string conversion.
This backports !7814 (merged) to the CMake 3.23 and 3.24 branches.
Fixes: #24162 (closed)