mirror of https://github.com/PCSX2/pcsx2.git
cmake: actually onepad requires X11
This commit is contained in:
parent
1655055f61
commit
2471306fc4
|
@ -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, egl, X11")
|
||||
set(msg_dep_onepad "check these libraries -> sdl (>=1.2)")
|
||||
set(msg_dep_onepad "check these libraries -> sdl (>=1.2), X11")
|
||||
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)
|
||||
|
@ -209,8 +209,9 @@ endif()
|
|||
# onepad
|
||||
#---------------------------------------
|
||||
# requires: -SDL
|
||||
# -X11
|
||||
#---------------------------------------
|
||||
if(SDLn_FOUND)
|
||||
if(SDLn_FOUND AND X11_FOUND)
|
||||
set(onepad TRUE)
|
||||
elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/onepad")
|
||||
set(onepad FALSE)
|
||||
|
|
Loading…
Reference in New Issue