mirror of https://github.com/PCSX2/pcsx2.git
cmake: both zzogl and gsdx require gtk
Actually everything require GTK
This commit is contained in:
parent
5933db386a
commit
0346da2fa0
|
@ -144,7 +144,7 @@ endif()
|
|||
# requires: -OpenGL
|
||||
# -X11
|
||||
#---------------------------------------
|
||||
if(OPENGL_FOUND AND X11_FOUND AND EGL_FOUND)
|
||||
if(OPENGL_FOUND AND X11_FOUND AND EGL_FOUND AND GTKn_FOUND)
|
||||
set(GSdx TRUE)
|
||||
elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/GSdx")
|
||||
set(GSdx FALSE)
|
||||
|
@ -186,7 +186,7 @@ endif()
|
|||
# -JPEG
|
||||
# -common_libs
|
||||
#---------------------------------------
|
||||
if((GLEW_FOUND AND OPENGL_FOUND AND X11_FOUND AND JPEG_FOUND AND common_libs) AND (CG_FOUND OR GLSL_API))
|
||||
if((GLEW_FOUND AND OPENGL_FOUND AND X11_FOUND AND JPEG_FOUND AND common_libs AND GTKn_FOUND) AND (CG_FOUND OR GLSL_API))
|
||||
set(zzogl TRUE)
|
||||
elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/zzogl-pg")
|
||||
set(zzogl FALSE)
|
||||
|
|
Loading…
Reference in New Issue