summaryrefslogtreecommitdiffstats
path: root/Modules/FindwxWidgets.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-22 15:07:16 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-22 15:08:05 (GMT)
commit8f207df14de3b8141c37b8b34baae29ebda248b3 (patch)
treea5ed24162ea37e2233ed8c285c91b5b5021d7d86 /Modules/FindwxWidgets.cmake
parent73f7d266825f1d301aece1286666beda9297382b (diff)
downloadCMake-8f207df14de3b8141c37b8b34baae29ebda248b3.zip
CMake-8f207df14de3b8141c37b8b34baae29ebda248b3.tar.gz
CMake-8f207df14de3b8141c37b8b34baae29ebda248b3.tar.bz2
FindwxWidgets: Add support for VS 2017 v141 toolset
Issue: #16735
Diffstat (limited to 'Modules/FindwxWidgets.cmake')
-rw-r--r--Modules/FindwxWidgets.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/FindwxWidgets.cmake b/Modules/FindwxWidgets.cmake
index f1627b6..d30d35f 100644
--- a/Modules/FindwxWidgets.cmake
+++ b/Modules/FindwxWidgets.cmake
@@ -498,7 +498,9 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
set(_WX_TOOL gcc)
elseif(MSVC)
set(_WX_TOOL vc)
- if(MSVC_VERSION EQUAL 1900)
+ if(MSVC_VERSION EQUAL 1910)
+ set(_WX_TOOLVER 141)
+ elseif(MSVC_VERSION EQUAL 1900)
set(_WX_TOOLVER 140)
elseif(MSVC_VERSION EQUAL 1800)
set(_WX_TOOLVER 120)