mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
CMake: require wxWidgets 3.0.1 or newer
Fixes issue 7206 on outdated systems (e.g. Ubuntu 14.04). Note: Our version in Externals is somewhere between 3.0.0 and 3.0.1.
This commit is contained in:
parent
87a63713f4
commit
c4beec7070
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue