Merge pull request #2318 from Tilka/wx301

CMake: require wxWidgets 3.0.1 or newer
This commit is contained in:
comex 2015-04-23 15:35:30 -04:00
commit e4b5637c3a

View File

@ -721,9 +721,7 @@ if(NOT DISABLE_WX AND NOT ANDROID)
ERROR_QUIET
)
message("Found wxWidgets version ${wxWidgets_VERSION}")
if(UNIX)
set(wxMIN_VERSION "3.0.0")
endif()
set(wxMIN_VERSION "3.0.1")
if(${wxWidgets_VERSION} VERSION_LESS ${wxMIN_VERSION})
message("At least ${wxMIN_VERSION} is required; ignoring found version")
unset(wxWidgets_FOUND)