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:
Mike Gelfand
2022-12-09 04:30:43 -08:00
committed by GitHub
parent 0a69685a4e
commit a937dfc897
5 changed files with 44 additions and 20 deletions

View File

@@ -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}")