changeset 1932:2d46e378960d

ORTHANC_BOOST_COMPONENTS
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Mar 2016 15:21:23 +0100
parents 687ff92d173b
children ff11ba08e5d0
files Resources/CMake/BoostConfiguration.cmake
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/BoostConfiguration.cmake	Mon Mar 21 15:15:01 2016 +0100
+++ b/Resources/CMake/BoostConfiguration.cmake	Mon Mar 21 15:21:23 2016 +0100
@@ -8,7 +8,7 @@
   #set(Boost_USE_STATIC_LIBS ON)
 
   find_package(Boost
-    COMPONENTS filesystem thread system date_time regex locale)
+    COMPONENTS filesystem thread system date_time regex locale ${ORTHANC_BOOST_COMPONENTS})
 
   if (NOT Boost_FOUND)
     message(FATAL_ERROR "Unable to locate Boost on this system")