comparison OrthancFramework/Resources/CMake/BoostConfiguration.cmake @ 5063:cfbf45e76468

added CMake option USE_LEGACY_BOOST
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Aug 2022 12:20:00 +0200
parents 43e613a7756b
children 6156a970a2e1
comparison
equal deleted inserted replaced
5062:caed453042db 5063:cfbf45e76468
78 include_directories(${Boost_INCLUDE_DIRS}) 78 include_directories(${Boost_INCLUDE_DIRS})
79 link_libraries(${Boost_LIBRARIES}) 79 link_libraries(${Boost_LIBRARIES})
80 endif() 80 endif()
81 81
82 82
83 if (BOOST_STATIC) 83 if (BOOST_STATIC AND USE_LEGACY_BOOST)
84 include(BoostConfigurationStatic-1.69.0.cmake)
85 endif()
86
87
88 if (BOOST_STATIC AND NOT USE_LEGACY_BOOST)
84 ## 89 ##
85 ## Parameters for static compilation of Boost 90 ## Parameters for static compilation of Boost
86 ## 91 ##
87 92
88 set(BOOST_NAME boost_1_69_0) 93 set(BOOST_NAME boost_1_69_0)