summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2009-03-16 17:37:57 +0100
committerDennis kasprzyk <onestone@compiz-fusion.org>2009-03-16 17:37:57 +0100
commitcd84f5c95bc56780e65ecd34314d8fb4ce4b6d2b (patch)
treea5b79dc6fa121dcde7b999c7a35160ecab1db8c0 /CMakeLists.txt
parent6f096c20ffd9fc4f863fe260a944b62be649e380 (diff)
downloadmobilebling-cd84f5c95bc56780e65ecd34314d8fb4ce4b6d2b.tar.gz
mobilebling-cd84f5c95bc56780e65ecd34314d8fb4ce4b6d2b.tar.bz2
Better BOOST check.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b389f40..2e347e4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,10 +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)
-if (NOT Boost_FOUND OR Boost_MAJOR_VERSION EQUAL 1 AND Boost_MINOR_VERSION LESS 34)
- message (FATAL_ERROR "Boost version >= 1.34.0 needed")
-endif (NOT Boost_FOUND OR Boost_MAJOR_VERSION EQUAL 1 AND Boost_MINOR_VERSION LESS 34)
+find_package (Boost 1.34.0 REQUIRED)
set (COMPIZ_REQUIRES
xdamage