/[pcsx2_0.9.7]/trunk/cmake/SelectPcsx2Plugins.cmake
ViewVC logotype

Diff of /trunk/cmake/SelectPcsx2Plugins.cmake

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/cmake/SelectPcsx2Plugins.cmake	2010/11/12 01:10:22	273
+++ trunk/cmake/SelectPcsx2Plugins.cmake	2011/02/25 17:31:09	401
@@ -5,6 +5,7 @@
 set(msg_dep_pcsx2       "check these libraries -> wxWidgets (>=2.8.10), gtk2 (>=2.16), zlib (>=1.2.4), pcsx2 common libs")
 set(msg_dep_cdvdiso     "check these libraries -> bzip2 (>=1.0.5)")
 set(msg_dep_zerogs      "check these libraries -> glew (>=1.5), opengl, X11, nvidia-cg-toolkit (>=2.1)")
+set(msg_dep_gsdx        "check these libraries -> opengl, X11")
 set(msg_dep_zzogl       "check these libraries -> glew (>=1.5), jpeg (>=6.2), opengl, X11, nvidia-cg-toolkit (>=2.1), pcsx2 common libs")
 set(msg_dep_onepad      "check these libraries -> sdl (>=1.2)")
 set(msg_dep_zeropad     "check these libraries -> sdl (>=1.2)")
@@ -105,6 +106,21 @@
 #---------------------------------------
 
 #---------------------------------------
+#			GSdx
+#---------------------------------------
+# requires: -OpenGL
+#			-X11
+#---------------------------------------
+if(OPENGL_FOUND AND X11_FOUND)
+    set(GSdx TRUE)
+else(OPENGL_FOUND AND X11_FOUND)
+	set(GSdx FALSE)
+    message(STATUS "Skip build of GSdx: miss some dependencies")
+    message(STATUS "${msg_dep_gsdx}")
+endif(OPENGL_FOUND AND X11_FOUND)
+#---------------------------------------
+
+#---------------------------------------
 #			zerogs
 #---------------------------------------
 # requires:	-GLEW
@@ -225,7 +241,6 @@
 set(CDVDisoEFP FALSE)
 set(CDVDolio FALSE)
 set(CDVDpeops FALSE)
-set(GSdx FALSE)
 set(LilyPad FALSE)
 set(PeopsSPU2 FALSE)
 set(SSSPSXPAD FALSE)

 

  ViewVC Help
Powered by ViewVC 1.1.22