summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-01-28 21:25:42 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-01-28 21:25:42 +0800
commit86b00f1e1a9baff35992a58ebc962cc30d929457 (patch)
treea357dac7bddc1ccb6dd110c683c279c5fce560b2 /src/CMakeLists.txt
parent647f625e37df81150a1bd9946edca7f71dfdf373 (diff)
downloadunity-window-decorator-86b00f1e1a9baff35992a58ebc962cc30d929457.tar.gz
unity-window-decorator-86b00f1e1a9baff35992a58ebc962cc30d929457.tar.bz2
Revert "Don't dep on system libdecoration but on source built-one"
This reverts commit 8e515dd1dd7eaf8cbf4ee5e1ef182378757aba20.
Diffstat (limited to 'src/CMakeLists.txt')
-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}