diff options
author | Brad King <brad.king@kitware.com> | 2017-03-22 15:07:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-03-22 15:08:05 (GMT) |
commit | 8f207df14de3b8141c37b8b34baae29ebda248b3 (patch) | |
tree | a5ed24162ea37e2233ed8c285c91b5b5021d7d86 /Modules/FindwxWidgets.cmake | |
parent | 73f7d266825f1d301aece1286666beda9297382b (diff) | |
download | CMake-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.cmake | 4 |
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) |