From 2140a544ff26a818cd07401500285af296e7e7db Mon Sep 17 00:00:00 2001 From: Jarrad Date: Tue, 30 Dec 2014 11:05:20 +1100 Subject: [PATCH] add GLSL compile flag --- _CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_CMakeLists.txt b/_CMakeLists.txt index 95f21ea9..0e27667f 100644 --- a/_CMakeLists.txt +++ b/_CMakeLists.txt @@ -49,6 +49,11 @@ if (CONFIG_VSYNC_OPENGL) list(APPEND compton_SRCS src/opengl.c) endif () +option(CONFIG_VSYNC_OPENGL_GLSL "Enable GLSL" ON) +if (CONFIG_VSYNC_OPENGL_GLSL) + add_definitions("-DCONFIG_VSYNC_OPENGL_GLSL") +endif () + option(CONFIG_XINERAMA "Enable additional Xinerama features" ON) if (CONFIG_XINERAMA) add_definitions("-DCONFIG_XINERAMA")