summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2011-01-24 18:31:51 -0600
committerTravis Watkins <amaranth@ubuntu.com>2011-01-24 18:31:51 -0600
commit41d6694dc9d1442a183ead0bd126f73c91ac7392 (patch)
tree89b3924acf8f6c9bbc7c761c15bb87e3b6ccb1f3
parent2b7e7570d2d7f98869c7258aa50db1f260a5870c (diff)
downloadmobileperf-41d6694dc9d1442a183ead0bd126f73c91ac7392.tar.gz
mobileperf-41d6694dc9d1442a183ead0bd126f73c91ac7392.tar.bz2
fix build system so you can disable building decor plugin
-rw-r--r--plugins/decor/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/decor/CMakeLists.txt b/plugins/decor/CMakeLists.txt
index b912b74..b0ca09a 100644
--- a/plugins/decor/CMakeLists.txt
+++ b/plugins/decor/CMakeLists.txt
@@ -5,10 +5,10 @@ include (CompizCommon)
compiz_plugin(decor PLUGINDEPS composite opengl LIBRARIES decoration)
-if (COMPIZ_BUILD_WITH_RPATH)
+if (COMPIZ_BUILD_WITH_RPATH AND NOT COMPIZ_DISABLE_PLUGIN_DECOR)
set_target_properties (
decor PROPERTIES
INSTALL_RPATH "${COMPIZ_LIBDIR}"
)
-endif (COMPIZ_BUILD_WITH_RPATH)
+endif (COMPIZ_BUILD_WITH_RPATH AND NOT COMPIZ_DISABLE_PLUGIN_DECOR)