comparison Resources/CMake/BoostConfiguration.cmake @ 915:703bef350e89

Orthanc now relies entirely on boost::locale
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 24 Jun 2014 12:00:41 +0200
parents 816dccaeb7cf
children 27d256e0b458
comparison
equal deleted inserted replaced
890:816dccaeb7cf 915:703bef350e89
6 set(BOOST_STATIC 0) 6 set(BOOST_STATIC 0)
7 #set(Boost_DEBUG 1) 7 #set(Boost_DEBUG 1)
8 #set(Boost_USE_STATIC_LIBS ON) 8 #set(Boost_USE_STATIC_LIBS ON)
9 9
10 find_package(Boost 10 find_package(Boost
11 COMPONENTS filesystem thread system date_time regex) 11 COMPONENTS filesystem thread system date_time regex locale)
12 12
13 if (NOT Boost_FOUND) 13 if (NOT Boost_FOUND)
14 message(FATAL_ERROR "Unable to locate Boost on this system") 14 message(FATAL_ERROR "Unable to locate Boost on this system")
15 endif() 15 endif()
16 16
119 ) 119 )
120 120
121 source_group(ThirdParty\\Boost REGULAR_EXPRESSION ${BOOST_SOURCES_DIR}/.*) 121 source_group(ThirdParty\\Boost REGULAR_EXPRESSION ${BOOST_SOURCES_DIR}/.*)
122 else() 122 else()
123 add_definitions( 123 add_definitions(
124 -DBOOST_HAS_LOCALE=0 124 -DBOOST_HAS_LOCALE=1
125 ) 125 )
126 endif() 126 endif()