diff 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
line wrap: on
line diff
--- a/Resources/CMake/BoostConfiguration.cmake	Mon Jun 16 15:39:16 2014 +0200
+++ b/Resources/CMake/BoostConfiguration.cmake	Tue Jun 24 12:00:41 2014 +0200
@@ -8,7 +8,7 @@
   #set(Boost_USE_STATIC_LIBS ON)
 
   find_package(Boost
-    COMPONENTS filesystem thread system date_time regex)
+    COMPONENTS filesystem thread system date_time regex locale)
 
   if (NOT Boost_FOUND)
     message(FATAL_ERROR "Unable to locate Boost on this system")
@@ -121,6 +121,6 @@
   source_group(ThirdParty\\Boost REGULAR_EXPRESSION ${BOOST_SOURCES_DIR}/.*)
 else()
   add_definitions(
-    -DBOOST_HAS_LOCALE=0
+    -DBOOST_HAS_LOCALE=1
     )
 endif()