Skip to content
Snippets Groups Projects
Commit 73f7d266 authored by Brad King's avatar Brad King
Browse files

FindwxWidgets: Use `MSVC_VERSION` instead of `MSVC##`

parent e1adec32
No related branches found
No related tags found
No related merge requests found
...@@ -498,15 +498,15 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32") ...@@ -498,15 +498,15 @@ if(wxWidgets_FIND_STYLE STREQUAL "win32")
set(_WX_TOOL gcc) set(_WX_TOOL gcc)
elseif(MSVC) elseif(MSVC)
set(_WX_TOOL vc) set(_WX_TOOL vc)
if(MSVC14) if(MSVC_VERSION EQUAL 1900)
set(_WX_TOOLVER 140) set(_WX_TOOLVER 140)
elseif(MSVC12) elseif(MSVC_VERSION EQUAL 1800)
set(_WX_TOOLVER 120) set(_WX_TOOLVER 120)
elseif(MSVC11) elseif(MSVC_VERSION EQUAL 1700)
set(_WX_TOOLVER 110) set(_WX_TOOLVER 110)
elseif(MSVC10) elseif(MSVC_VERSION EQUAL 1600)
set(_WX_TOOLVER 100) set(_WX_TOOLVER 100)
elseif(MSVC90) elseif(MSVC_VERSION EQUAL 1500)
set(_WX_TOOLVER 90) set(_WX_TOOLVER 90)
endif() endif()
if(CMAKE_SIZEOF_VOID_P EQUAL 8) if(CMAKE_SIZEOF_VOID_P EQUAL 8)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment