mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
IRSL: Fix discovery of VS 2022 v143 toolset redistributables for preview 5
VS 2022 Preview 5 renamed the redist directories from `Microsoft.VC142.*` to `Microsoft.VC143.*` in order to match the `v143` toolset name. Fixes: #22586
This commit is contained in:
@@ -225,7 +225,7 @@ if(MSVC)
|
||||
elseif(MSVC_TOOLSET_VERSION GREATER_EQUAL 144)
|
||||
message(WARNING "MSVC toolset v${MSVC_TOOLSET_VERSION} not yet supported.")
|
||||
elseif(MSVC_TOOLSET_VERSION EQUAL 143)
|
||||
set(MSVC_REDIST_NAME VC142)
|
||||
set(MSVC_REDIST_NAME VC143)
|
||||
set(_MSVC_DLL_VERSION 140)
|
||||
set(_MSVC_IDE_VERSION 17)
|
||||
elseif(MSVC_TOOLSET_VERSION EQUAL 142)
|
||||
|
||||
Reference in New Issue
Block a user