Fix unfound Microsoft runtimes while installing by removing the set on MSVC_VERSION that should be already set.

This commit is contained in:
Julien Wadel 2025-12-09 11:51:13 +01:00
parent 0d35fa72f7
commit f5429c4650

View file

@ -120,7 +120,6 @@ elseif(WIN32)
NAMES msys2_shell.cmd
HINTS "C:/msys64/"
)
set(MSVC_VERSION ${MSVC_TOOLSET_VERSION})
set(CMAKE_INSTALL_UCRT_LIBRARIES TRUE)
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
set(CMAKE_INSTALL_DEBUG_LIBRARIES TRUE)