summaryrefslogtreecommitdiff
path: root/plugins
diff options
authorƁukasz 'sil2100' Zemczak <lukasz.zemczak@canonical.com>2012-08-03 10:10:40 -0400
committerTarmac <>2012-08-03 10:10:40 -0400
commit72dd1138bab786aaba34234fa1ddbf92503692c4 (patch)
treec56491c68d2819987873726e031f3179d5bd028f /plugins
parent5bfa14ce7fb3ec17da70ef049f15acd2b4123d71 (diff)
parent43fe5611a09b9b3d20d4bd1b3fdf44f0431d2ca6 (diff)
Add the libunity private directory to unityshell.so and libunity-core-6.0.so RPATHs, so that they can easily find the libunity-protocol-private.so library on load.. Fixes: . Approved by Michal Hruby.
(bzr r2537)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/unityshell/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/unityshell/CMakeLists.txt b/plugins/unityshell/CMakeLists.txt
index 2e11fb453..eaf2047a3 100644
--- a/plugins/unityshell/CMakeLists.txt
+++ b/plugins/unityshell/CMakeLists.txt
@@ -12,6 +12,9 @@ compiz_plugin (unityshell
)
add_dependencies(unityshell unity-core-${UNITY_API_VERSION} dash-lib launcher-lib switcher-lib hud-lib panel-lib shortcuts-lib unity-shared unity-shared-compiz)
target_link_libraries(unityshell unity-core-${UNITY_API_VERSION} launcher-lib dash-lib switcher-lib hud-lib panel-lib shortcuts-lib unity-shared unity-shared-compiz)
+set_target_properties(unityshell
+ PROPERTIES INSTALL_RPATH "${CACHED_UNITY_PRIVATE_DEPS_LIBRARY_DIRS}"
+ INSTALL_RPATH_USE_LINK_PATH TRUE)
#
# Data