mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07: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
@ -721,9 +721,7 @@ if(NOT DISABLE_WX AND NOT ANDROID)
|
|||||||
ERROR_QUIET
|
ERROR_QUIET
|
||||||
)
|
)
|
||||||
message("Found wxWidgets version ${wxWidgets_VERSION}")
|
message("Found wxWidgets version ${wxWidgets_VERSION}")
|
||||||
if(UNIX)
|
set(wxMIN_VERSION "3.0.1")
|
||||||
set(wxMIN_VERSION "3.0.0")
|
|
||||||
endif()
|
|
||||||
if(${wxWidgets_VERSION} VERSION_LESS ${wxMIN_VERSION})
|
if(${wxWidgets_VERSION} VERSION_LESS ${wxMIN_VERSION})
|
||||||
message("At least ${wxMIN_VERSION} is required; ignoring found version")
|
message("At least ${wxMIN_VERSION} is required; ignoring found version")
|
||||||
unset(wxWidgets_FOUND)
|
unset(wxWidgets_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user