mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
Remove the cmake check for wxWidgets 2.8.9 that somehow got readded to
the code before the correct check for wxWidgets 2.9.3/2.9.4. Also clean up the indentation in the CMakeLists.txt file.
This commit is contained in:
parent
8b65775ee1
commit
1aca5fe798
1 changed files with 47 additions and 62 deletions
|
@ -620,21 +620,6 @@ if(NOT DISABLE_WX AND NOT ANDROID)
|
||||||
include(FindwxWidgets OPTIONAL)
|
include(FindwxWidgets OPTIONAL)
|
||||||
FIND_PACKAGE(wxWidgets COMPONENTS core aui adv)
|
FIND_PACKAGE(wxWidgets COMPONENTS core aui adv)
|
||||||
|
|
||||||
if(wxWidgets_FOUND)
|
|
||||||
EXECUTE_PROCESS(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
|
||||||
COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}"
|
|
||||||
${wxWidgets_CONFIG_OPTIONS} --version
|
|
||||||
OUTPUT_VARIABLE wxWidgets_VERSION
|
|
||||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
|
||||||
ERROR_QUIET
|
|
||||||
)
|
|
||||||
message("Found wxWidgets version ${wxWidgets_VERSION}")
|
|
||||||
if(${wxWidgets_VERSION} VERSION_LESS "2.8.9")
|
|
||||||
message("At least 2.8.9 is required; ignoring found version")
|
|
||||||
unset(wxWidgets_FOUND)
|
|
||||||
endif()
|
|
||||||
endif(wxWidgets_FOUND)
|
|
||||||
|
|
||||||
if(wxWidgets_FOUND)
|
if(wxWidgets_FOUND)
|
||||||
EXECUTE_PROCESS(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
EXECUTE_PROCESS(WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
|
||||||
COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}"
|
COMMAND sh "${wxWidgets_CONFIG_EXECUTABLE}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue