comparison Resources/CMake/BoostConfiguration.cmake @ 1932:2d46e378960d

ORTHANC_BOOST_COMPONENTS
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Mar 2016 15:21:23 +0100
parents 687ff92d173b
children 361b990b2f0c
comparison
equal deleted inserted replaced
1931:687ff92d173b 1932:2d46e378960d
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 locale) 11 COMPONENTS filesystem thread system date_time regex locale ${ORTHANC_BOOST_COMPONENTS})
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