diff 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
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/BoostConfiguration.cmake	Thu Aug 11 09:33:20 2022 +0200
+++ b/OrthancFramework/Resources/CMake/BoostConfiguration.cmake	Mon Aug 15 12:20:00 2022 +0200
@@ -80,7 +80,12 @@
 endif()
 
 
-if (BOOST_STATIC)
+if (BOOST_STATIC AND USE_LEGACY_BOOST)
+  include(BoostConfigurationStatic-1.69.0.cmake)
+endif()
+
+
+if (BOOST_STATIC AND NOT USE_LEGACY_BOOST)
   ##
   ## Parameters for static compilation of Boost 
   ##