diff options
author | James Butler <jbutler@sonovol.com> | 2019-07-21 02:15:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-22 14:06:44 (GMT) |
commit | 0484165da017395f800d112c106cc74facca77f4 (patch) | |
tree | 24f3d9aa0843cc45df200ed7a8ec3cfe38e13fcc /Modules/InstallRequiredSystemLibraries.cmake | |
parent | 79bcf4e1655ffa38e8f4740b19ec3a14ac567eec (diff) | |
download | CMake-0484165da017395f800d112c106cc74facca77f4.zip CMake-0484165da017395f800d112c106cc74facca77f4.tar.gz CMake-0484165da017395f800d112c106cc74facca77f4.tar.bz2 |
IRSL: Fix typo in v143 toolset version check
Fix the toolset v143 check from commit 33ee779330 (IRSL: Fix discovery
of VS 2019 v142 toolset redistributables, 2019-04-03, v3.14.2~6^2) to
check the correct variable.
Diffstat (limited to 'Modules/InstallRequiredSystemLibraries.cmake')
-rw-r--r-- | Modules/InstallRequiredSystemLibraries.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/InstallRequiredSystemLibraries.cmake b/Modules/InstallRequiredSystemLibraries.cmake index 0a98895..fb2f1e9 100644 --- a/Modules/InstallRequiredSystemLibraries.cmake +++ b/Modules/InstallRequiredSystemLibraries.cmake @@ -210,8 +210,8 @@ if(MSVC) set(_MSVC_IDE_VERSION "") if(MSVC_VERSION GREATER_EQUAL 2000) message(WARNING "MSVC ${MSVC_VERSION} not yet supported.") - elseif(MSVC_VERSION_VERSION GREATER_EQUAL 143) - message(WARNING "MSVC toolset v${MSVC_VERSION_VERSION} not yet supported.") + elseif(MSVC_TOOLSET_VERSION GREATER_EQUAL 143) + message(WARNING "MSVC toolset v${MSVC_TOOLSET_VERSION} not yet supported.") elseif(MSVC_TOOLSET_VERSION EQUAL 142) set(MSVC_REDIST_NAME VC142) set(_MSVC_DLL_VERSION 140) |