summaryrefslogtreecommitdiff
path: root/plugins/unityshell/CMakeLists.txt
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2012-09-06 13:01:43 +0200
committerAndrea Azzarone <azzaronea@gmail.com>2012-09-06 13:01:43 +0200
commitf8dc9c803cece59aaae1e140a4b3abf8743f681a (patch)
treefdfda430fbfef22c25fedd7cbce5255ae608c733 /plugins/unityshell/CMakeLists.txt
parent26217b9f7f13db800d0a08d5c5512153c13110fa (diff)
parent1cdca055ffddf2e105015f9f03842a047b002f93 (diff)
Merge trunk.
(bzr r2509.3.2)
Diffstat (limited to 'plugins/unityshell/CMakeLists.txt')
-rw-r--r--plugins/unityshell/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/unityshell/CMakeLists.txt b/plugins/unityshell/CMakeLists.txt
index 2e11fb453..c6ad6f75d 100644
--- a/plugins/unityshell/CMakeLists.txt
+++ b/plugins/unityshell/CMakeLists.txt
@@ -6,12 +6,15 @@ set (COMPIZ_PLUGIN_INSTALL_TYPE "package")
compiz_plugin (unityshell
PKGDEPS ${UNITY_PLUGIN_DEPS}
- PLUGINDEPS composite opengl compiztoolbox
+ PLUGINDEPS composite opengl compiztoolbox scale
CFLAGSADD "-DINSTALLPREFIX='\"${CMAKE_INSTALL_PREFIX}\"' -DPKGDATADIR='\"${PKGDATADIR}\"' -I${CMAKE_BINARY_DIR} -I${CMAKE_SOURCE_DIR} ${BOOT_LOGGER_FLAG} -DGETTEXT_PACKAGE='\"unity\"' ${MAINTAINER_CFLAGS} -I${CMAKE_SOURCE_DIR}/dash/ -I${CMAKE_SOURCE_DIR}/launcher/ -I${CMAKE_SOURCE_DIR}/hud/ -I${CMAKE_SOURCE_DIR}/panel/ -I${CMAKE_SOURCE_DIR}/shortcuts/ -I${CMAKE_SOURCE_DIR}/unity-shared/"
LIBDIRS "${CMAKE_BINARY_DIR}/UnityCore"
)
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