summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSam Spilsbury <SmSpillaz@gmail.com>2010-06-12 15:43:36 +0800
committerSam Spilsbury <SmSpillaz@gmail.com>2010-06-12 15:43:36 +0800
commitad81a6e7b48ce68e893b4c0b13080b198f37634c (patch)
tree24f4887e8d7169563af96224d9b6990cfe651913 /CMakeLists.txt
parenta9e34d283827f5bd956ae45339ac95a96e9f64ae (diff)
downloadmobilebling-ad81a6e7b48ce68e893b4c0b13080b198f37634c.tar.gz
mobilebling-ad81a6e7b48ce68e893b4c0b13080b198f37634c.tar.bz2
A few big changes:
* Rewrite PropertyWriter, move it out of compiztoolbox * Added CompPluginStateWriter, a serialization interface, which plugins inherit, and specify how to serialize their class members, which will be automatically unloaded and reloaded as plugins unload and reload. * Currently there are bugs with this interface, so it is disabled by default (mostly bugs to do with boost and libdl) * Depend on libboost-serialization * A few bugfixes
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9377d66..6f34afe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,7 +37,7 @@ set (COMPIZ_I18N_DIR ${CMAKE_SOURCE_DIR}/po)
set (ALL_LINGUAS af ar bg bn bn_IN bs ca cs cy da de el en_GB en_US es eu et fi fr gl gu he hi hr hu id it ja ka km ko lo lt mk mr nb nl or pa pl pt pt_BR ro ru sk sl sr sv ta tr uk vi xh zh_CN zh_TW zu)
set (GETTEXT_PACKAGE compiz)
-find_package (Boost 1.34.0 REQUIRED)
+find_package (Boost 1.34.0 REQUIRED COMPONENTS serialization)
set (COMPIZ_REQUIRES
x11
@@ -60,6 +60,8 @@ set (DECORATION_REQUIRES xrender)
compiz_pkg_check_modules (COMPIZ REQUIRED ${COMPIZ_REQUIRES})
compiz_pkg_check_modules (LIBDECORATION REQUIRED ${DECORATION_REQUIRES})
+list (APPEND COMPIZ_LIBRARIES ${Boost_LIBRARIES})
+
include (CompizDefaults)
set (COMPIZ_CFLAGS "${COMPIZ_CFLAGS} -I${Boost_INCLUDE_DIR}")