add GLSL compile flag

This commit is contained in:
Jarrad 2014-12-30 11:05:20 +11:00
parent 65e655e3bc
commit 2140a544ff
1 changed files with 5 additions and 0 deletions

View File

@ -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")