diff options
author | Brad King <brad.king@kitware.com> | 2021-10-14 16:36:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-14 17:37:05 (GMT) |
commit | 787ab7ff20ca74b57cfd3c18b0e92be1844ba244 (patch) | |
tree | e575c5e48ac3f180619b5249a8420cdf24b8a2c6 | |
parent | 69f3fa9816ec17b2a1b75464530bc267d76588fe (diff) | |
download | CMake-787ab7ff20ca74b57cfd3c18b0e92be1844ba244.zip CMake-787ab7ff20ca74b57cfd3c18b0e92be1844ba244.tar.gz CMake-787ab7ff20ca74b57cfd3c18b0e92be1844ba244.tar.bz2 |
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
-rw-r--r-- | Modules/InstallRequiredSystemLibraries.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake index 331623f..a267278 100644 --- a/Modules/InstallRequiredSystemLibraries.cmake +++ b/Modules/InstallRequiredSystemLibraries.cmake @@ -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) |