From 8f207df14de3b8141c37b8b34baae29ebda248b3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 22 Mar 2017 11:07:16 -0400 Subject: FindwxWidgets: Add support for VS 2017 v141 toolset Issue: #16735 --- Modules/FindwxWidgets.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v0.12