cmake: onepad require gtk

This commit is contained in:
Gregory Hainaut 2016-01-13 09:32:24 +01:00
parent a7a8c542f5
commit 9bcd9f0a73

View File

@ -6,7 +6,7 @@ set(msg_dep_pcsx2 "check these libraries -> wxWidgets (>=2.8.10), gtk2 (>=
set(msg_dep_cdvdiso "check these libraries -> bzip2 (>=1.0.5), gtk2 (>=2.16)")
set(msg_dep_zerogs "check these libraries -> glew (>=1.6), opengl, X11, nvidia-cg-toolkit (>=2.1)")
set(msg_dep_gsdx "check these libraries -> opengl, png++, X11")
set(msg_dep_onepad "check these libraries -> sdl (>=1.2), X11")
set(msg_dep_onepad "check these libraries -> sdl (>=1.2), X11, gtk2 (>=2.16)")
set(msg_dep_spu2x "check these libraries -> soundtouch (>=1.5), alsa, portaudio (>=1.9), sdl (>=1.2) pcsx2 common libs")
set(msg_dep_zerospu2 "check these libraries -> soundtouch (>=1.5), alsa")
if(GLSL_API)
@ -228,7 +228,7 @@ endif()
# requires: -SDL
# -X11
#---------------------------------------
if(SDLn_FOUND AND X11_FOUND)
if(GTKn_FOUND AND SDLn_FOUND AND X11_FOUND)
set(onepad TRUE)
elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/onepad")
set(onepad FALSE)