summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2010-11-13 20:57:18 +0100
committerKristian Lyngstol <kristian@bohemians.org>2010-11-13 20:59:53 +0100
commitdd26a937f3cb7a132aacfd07628497b30c832a5b (patch)
tree6e203bf500614f29a0b0ec44646ace813ddc5f64
parentf269698d5618210252027da18283fd16bc000b1d (diff)
downloadcolorfilter-dd26a937f3cb7a132aacfd07628497b30c832a5b.tar.gz
colorfilter-dd26a937f3cb7a132aacfd07628497b30c832a5b.tar.bz2
Add the DATADIR definition to CMakeLists
Hopefully, this, is reasonably correct.
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 660860f..7adc790 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,4 +2,8 @@ find_package (Compiz REQUIRED)
include (CompizPlugin)
+add_definitions (
+ -DDATADIR=\\\"${compiz_datadir}\\\"
+)
+
compiz_plugin (colorfilter PLUGINDEPS composite opengl)