mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +00:00
Don't include MSVC redist MSM in Windows MSI package (#4339)
* Create Windows MSI package as part of GHA sanity build * Don't include MSVC redist MSM in Windows MSI package This approach is deprecated, and was probably never entirely correct to begin with.
This commit is contained in:
10
dist/msi/UtilityFunctions.cmake
vendored
10
dist/msi/UtilityFunctions.cmake
vendored
@@ -7,16 +7,6 @@ function(find_msvc_crt_msm OUTPUT_VAR)
|
||||
|
||||
message(STATUS "Looking for a CRT MSM:")
|
||||
|
||||
if(NOT MSVC_TOOLSET_VERSION)
|
||||
if(MSVC_VERSION GREATER_EQUAL 1920)
|
||||
set(MSVC_TOOLSET_VERSION 142)
|
||||
elseif(MSVC_VERSION GREATER_EQUAL 1910)
|
||||
set(MSVC_TOOLSET_VERSION 141)
|
||||
elseif(MSVC_VERSION GREATER_EQUAL 1900)
|
||||
set(MSVC_TOOLSET_VERSION 140)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(MSM_FILE "Microsoft_VC${MSVC_TOOLSET_VERSION}_CRT_${ARCH}.msm")
|
||||
message(STATUS " * File name: ${MSM_FILE}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user