summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-01-31 19:54:22 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-01-31 19:54:22 +0800
commit99e32cdefe080cd383c07dda716d7676916aeb18 (patch)
tree3ab2dd180617bd4f92dbabb1ec6956616d608930
parent0fe31e900731845f38d95099e2d37162d3618509 (diff)
downloadunity-window-decorator-99e32cdefe080cd383c07dda716d7676916aeb18.tar.gz
unity-window-decorator-99e32cdefe080cd383c07dda716d7676916aeb18.tar.bz2
Revert "Don't dep on system libdecoration but on source built-one"
This reverts commit 8e515dd1dd7eaf8cbf4ee5e1ef182378757aba20.
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bb3e317..c833e4c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -28,6 +28,7 @@ set (USE_GCONF_UNITY_WINDOW_DECORATOR 1 CACHE BOOL "Install GConf schemas for Un
if (BUILD_UNITY)
pkg_check_modules (UNITY_WINDOW_DECORATOR
+ libdecoration
gconf-2.0
xrender>=0.8.4
gtk+-2.0>=2.18.0
@@ -134,10 +135,10 @@ if (BUILD_UNITY)
set_target_properties (
unity-window-decorator PROPERTIES
INSTALL_RPATH_USE_LINK_PATH 0
+ COMPILE_FLAGS ${UNITY_WINDOW_DECORATOR_CFLAGS}
)
target_link_libraries (unity-window-decorator
- decoration
${UNITY_WINDOW_DECORATOR_LIBRARIES}
${GCONF_LIBRARIES}
${DBUS_GLIB_LIBRARIES}