cmake:onepad: Add wxWidgets to dependencies

This commit is contained in:
Jonathan Li 2016-05-18 22:56:59 +01:00
parent ad61503d83
commit 3a274e85f0
2 changed files with 2 additions and 1 deletions

View File

@ -230,7 +230,7 @@ endif()
# requires: -SDL
# -X11
#---------------------------------------
if(GTKn_FOUND AND SDLn_FOUND AND X11_FOUND)
if(wxWidgets_FOUND AND GTKn_FOUND AND SDLn_FOUND AND X11_FOUND)
set(onepad TRUE)
elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/onepad")
set(onepad FALSE)

View File

@ -98,6 +98,7 @@ endif()
set(onepadFinalLibs
${onepadFinalLibs}
${wxWidgets_LIBRARIES}
${GTK2_LIBRARIES}
${X11_LIBRARIES}
)