mirror of
https://github.com/transmission/transmission.git
synced 2025-12-19 18:08:31 +00:00
fix: build with Visual Studio 2026 (#7924)
This commit is contained in:
4
dist/msi/CMakeLists.txt
vendored
4
dist/msi/CMakeLists.txt
vendored
@@ -15,7 +15,9 @@ if(MSVC_TOOLSET_VERSION MATCHES "^([0-9]+)([0-9])$")
|
||||
set(MSVC_TOOLSET_VERSION_MINOR ${CMAKE_MATCH_2})
|
||||
endif()
|
||||
|
||||
if(MSVC_TOOLSET_VERSION EQUAL 143)
|
||||
if(MSVC_TOOLSET_VERSION EQUAL 145)
|
||||
set(MSVS_VERSION 18)
|
||||
elseif(MSVC_TOOLSET_VERSION EQUAL 143)
|
||||
set(MSVS_VERSION 17)
|
||||
elseif(MSVC_TOOLSET_VERSION EQUAL 142)
|
||||
set(MSVS_VERSION 16)
|
||||
|
||||
Reference in New Issue
Block a user