diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2008-11-23 14:25:02 +0000 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2008-11-23 14:25:02 +0000 |
commit | 871ed131dbeec812da54b47c8f2da6b68d538db5 (patch) | |
tree | 335cc4b5c148780e415cbe582f5e0c55d7c72a95 | |
parent | 798e10891449f1b381133f45b02117a894965396 (diff) | |
download | extra-cmake-modules-871ed131dbeec812da54b47c8f2da6b68d538db5.tar.gz extra-cmake-modules-871ed131dbeec812da54b47c8f2da6b68d538db5.tar.bz2 |
boost 1.37 is out now
svn path=/trunk/KDE/kdelibs/; revision=888030
-rw-r--r-- | modules/FindBoost.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/FindBoost.cmake b/modules/FindBoost.cmake index 171409c6..c378d821 100644 --- a/modules/FindBoost.cmake +++ b/modules/FindBoost.cmake @@ -93,7 +93,7 @@ OPTION(Boost_USE_MULTITHREADED "Use the multithreaded versions of the boost libraries" ON) -SET( _boost_TEST_VERSIONS ${Boost_ADDITIONAL_VERSIONS} "1.36.1" "1.36.0" "1.36" "1.35.1" "1.35.0" "1.35" "1.34.1" "1.34.0" "1.34" "1.33.1" "1.33.0" "1.33" ) +SET( _boost_TEST_VERSIONS ${Boost_ADDITIONAL_VERSIONS} "1.37" "1.36.1" "1.36.0" "1.36" "1.35.1" "1.35.0" "1.35" "1.34.1" "1.34.0" "1.34" "1.33.1" "1.33.0" "1.33" ) ############################################ @@ -253,6 +253,7 @@ ELSE (_boost_IN_CACHE) IF(Boost_MINIMUM_VERSION MATCHES "[0-9]+\\.[0-9]+\\.[0-9]") STRING(REGEX REPLACE "([0-9]+)\\.([0-9]+)\\.([0-9]+)" "\\1" Boost_FIND_VERSION_MAJOR ${Boost_MINIMUM_VERSION}) STRING(REGEX REPLACE "([0-9]+)\\.([0-9]+)\\.([0-9]+)" "\\2" Boost_FIND_VERSION_MINOR ${Boost_MINIMUM_VERSION}) + message(STATUS "3") STRING(REGEX REPLACE "([0-9]+)\\.([0-9]+)\\.([0-9]+)" "\\3" Boost_FIND_VERSION_PATCH ${Boost_MINIMUM_VERSION}) ELSEIF(Boost_MINIMUM_VERSION MATCHES "[0-9]+\\.[0-9]+") STRING(REGEX REPLACE "([0-9]+)\\.([0-9]+)" "\\1" Boost_FIND_VERSION_MAJOR ${Boost_MINIMUM_VERSION}) |