Mercurial > hg > orthanc
comparison Resources/CMake/BoostConfiguration.cmake @ 55:601ee9b7f2c7
fixes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Sep 2012 12:19:42 +0200 |
parents | f3551378e8f3 |
children | 0ec5e2e327b1 |
comparison
equal
deleted
inserted
replaced
54:42a449dac415 | 55:601ee9b7f2c7 |
---|---|
1 if (${STATIC_BUILD}) | 1 if (${STATIC_BUILD}) |
2 SET(BOOST_STATIC 1) | 2 SET(BOOST_STATIC 1) |
3 else() | 3 else() |
4 find_package(Boost | 4 find_package(Boost |
5 COMPONENTS filesystem thread system) | 5 COMPONENTS filesystem thread system locale) |
6 | 6 |
7 if (${Boost_VERSION} LESS 104800) | 7 if (${Boost_VERSION} LESS 104800) |
8 # boost::locale is only available from 1.48.00 | 8 # boost::locale is only available from 1.48.00 |
9 message("Too old version of Boost (${Boost_LIB_VERSION}): Building the static version") | 9 message("Too old version of Boost (${Boost_LIB_VERSION}): Building the static version") |
10 SET(BOOST_STATIC 1) | 10 SET(BOOST_STATIC 1) |