summaryrefslogtreecommitdiff
path: root/plugins/opengl/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/opengl/CMakeLists.txt')
-rw-r--r--plugins/opengl/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/opengl/CMakeLists.txt b/plugins/opengl/CMakeLists.txt
new file mode 100644
index 0000000..5cb799c
--- /dev/null
+++ b/plugins/opengl/CMakeLists.txt
@@ -0,0 +1,8 @@
+find_package (Compiz REQUIRED)
+
+include (CompizPlugin)
+
+find_package (OpenGL)
+if (OPENGL_FOUND)
+ compiz_plugin(opengl PLUGINDEPS composite LIBRARIES ${OPENGL_gl_LIBRARY} INCDIRS ${OPENGL_INCLUDE_DIR})
+endif () \ No newline at end of file