summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)