summaryrefslogtreecommitdiff
path: root/Modules/InstallRequiredSystemLibraries.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-14 12:36:51 -0400
committerBrad King <brad.king@kitware.com>2021-10-14 13:37:05 -0400
commit787ab7ff20ca74b57cfd3c18b0e92be1844ba244 (patch)
treee575c5e48ac3f180619b5249a8420cdf24b8a2c6 /Modules/InstallRequiredSystemLibraries.cmake
parent69f3fa9816ec17b2a1b75464530bc267d76588fe (diff)
downloadcmake-787ab7ff20ca74b57cfd3c18b0e92be1844ba244.tar.gz
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
Diffstat (limited to 'Modules/InstallRequiredSystemLibraries.cmake')
-rw-r--r--Modules/InstallRequiredSystemLibraries.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake
index 331623fa44..a2672784d2 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)