mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06: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:
@ -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}"
|
||||||
|
Reference in New Issue
Block a user