From 0346da2fa036467db6d2a1a1b633551ad9d14cf6 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 4 Jan 2015 19:54:05 +0100 Subject: [PATCH] cmake: both zzogl and gsdx require gtk Actually everything require GTK --- cmake/SelectPcsx2Plugins.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/SelectPcsx2Plugins.cmake b/cmake/SelectPcsx2Plugins.cmake index b4f7f11af5..726dc2d97c 100644 --- a/cmake/SelectPcsx2Plugins.cmake +++ b/cmake/SelectPcsx2Plugins.cmake @@ -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)