From c4beec7070bb296d02fd8957d7650b017628601d Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Thu, 23 Apr 2015 17:50:13 +0200 Subject: [PATCH] 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. --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0590c6850650..e98c445f535a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)