cmake: both zzogl and gsdx require gtk

Actually everything require GTK
This commit is contained in:
Gregory Hainaut 2015-01-04 19:54:05 +01:00
parent 5933db386a
commit 0346da2fa0
1 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ endif()
# requires: -OpenGL # requires: -OpenGL
# -X11 # -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) set(GSdx TRUE)
elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/GSdx") elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/GSdx")
set(GSdx FALSE) set(GSdx FALSE)
@ -186,7 +186,7 @@ endif()
# -JPEG # -JPEG
# -common_libs # -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) set(zzogl TRUE)
elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/zzogl-pg") elseif(NOT EXISTS "${CMAKE_SOURCE_DIR}/plugins/zzogl-pg")
set(zzogl FALSE) set(zzogl FALSE)