comparison Resources/CMake/BoostConfiguration.cmake @ 3750:0ba17d2bcdc9

fix for boost 1.71 - cf. Debian Bug#953884
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Mar 2020 11:19:37 +0100
parents 468181e2f090
children 05a363186da6
comparison
equal deleted inserted replaced
3749:edabdf07ee83 3750:0ba17d2bcdc9
10 if (ENABLE_LOCALE) 10 if (ENABLE_LOCALE)
11 list(APPEND ORTHANC_BOOST_COMPONENTS locale) 11 list(APPEND ORTHANC_BOOST_COMPONENTS locale)
12 endif() 12 endif()
13 13
14 list(APPEND ORTHANC_BOOST_COMPONENTS filesystem thread system date_time regex) 14 list(APPEND ORTHANC_BOOST_COMPONENTS filesystem thread system date_time regex)
15 find_package(Boost COMPONENTS "${ORTHANC_BOOST_COMPONENTS}") 15 find_package(Boost COMPONENTS ${ORTHANC_BOOST_COMPONENTS})
16 16
17 if (NOT Boost_FOUND) 17 if (NOT Boost_FOUND)
18 foreach (item ${ORTHANC_BOOST_COMPONENTS}) 18 foreach (item ${ORTHANC_BOOST_COMPONENTS})
19 string(TOUPPER ${item} tmp) 19 string(TOUPPER ${item} tmp)
20 20