mirror of
https://github.com/yshui/picom.git
synced 2024-11-11 13:51:02 -05:00
Merge pull request #259 from akdor1154/glslFlag
add GLSL compile flag to CMakeLists
This commit is contained in:
commit
e2540f7885
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ if (CONFIG_VSYNC_OPENGL)
|
||||||
list(APPEND compton_SRCS src/opengl.c)
|
list(APPEND compton_SRCS src/opengl.c)
|
||||||
endif ()
|
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)
|
option(CONFIG_XINERAMA "Enable additional Xinerama features" ON)
|
||||||
if (CONFIG_XINERAMA)
|
if (CONFIG_XINERAMA)
|
||||||
add_definitions("-DCONFIG_XINERAMA")
|
add_definitions("-DCONFIG_XINERAMA")
|
||||||
|
|
Loading…
Reference in a new issue