Fix hide mouse cursor on linux.
Fix emulator window position when rendering to main on linux. Allow building against wxWidgets 2.9.3 on linux.
This commit is contained in:
+7
-2
@@ -489,8 +489,13 @@ if(NOT DISABLE_WX)
|
||||
ERROR_QUIET
|
||||
)
|
||||
message("Found wxWidgets version ${wxWidgets_VERSION}")
|
||||
if(${wxWidgets_VERSION} VERSION_LESS "2.9.4")
|
||||
message("At least 2.9.4 is required; ignoring found version")
|
||||
if(UNIX AND NOT APPLE)
|
||||
set(wxMIN_VERSION "2.9.3")
|
||||
else()
|
||||
set(wxMIN_VERSION "2.9.4")
|
||||
endif()
|
||||
if(${wxWidgets_VERSION} VERSION_LESS ${wxMIN_VERSION})
|
||||
message("At least ${wxMIN_VERSION} is required; ignoring found version")
|
||||
unset(wxWidgets_FOUND)
|
||||
endif()
|
||||
endif(wxWidgets_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user