mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 03:18:07 +00:00
Fix unfound Microsoft runtimes while installing by removing the set on MSVC_VERSION that should be already set.
This commit is contained in:
parent
0d35fa72f7
commit
f5429c4650
1 changed files with 2 additions and 3 deletions
|
|
@ -120,12 +120,11 @@ 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)
|
||||
endif()
|
||||
include(InstallRequiredSystemLibraries)
|
||||
endif()
|
||||
include(InstallRequiredSystemLibraries)
|
||||
find_file(UCRTBASE_LIB "ucrtbase.dll" PATHS "C:/Windows/System32")
|
||||
install(FILES ${UCRTBASE_LIB} DESTINATION "${CMAKE_INSTALL_BINDIR}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue