summaryrefslogtreecommitdiff
path: root/plugins/blur/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/blur/CMakeLists.txt')
-rw-r--r--plugins/blur/CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/blur/CMakeLists.txt b/plugins/blur/CMakeLists.txt
new file mode 100644
index 0000000..d625cdf
--- /dev/null
+++ b/plugins/blur/CMakeLists.txt
@@ -0,0 +1,16 @@
+find_package (Compiz REQUIRED)
+
+include (CompizPlugin)
+
+find_package (OpenGL)
+
+if (OPENGL_GLU_FOUND)
+ compiz_plugin(blur PLUGINDEPS composite opengl LIBRARIES decoration ${OPENGL_glu_LIBRARY} INCDIRS ${OPENGL_INCLUDE_DIR})
+
+ if (COMPIZ_BUILD_WITH_RPATH)
+ set_target_properties (
+ blur PROPERTIES
+ INSTALL_RPATH "${COMPIZ_LIBDIR}"
+ )
+ endif (COMPIZ_BUILD_WITH_RPATH)
+endif ()