diff OrthancFramework/Resources/CMake/BoostConfiguration.cmake @ 4535:c40c1234a696

simplification of DownloadOrthancFramework.cmake
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 26 Feb 2021 13:50:37 +0100
parents c1f36fd13730
children 7053502fbf97
line wrap: on
line diff
--- a/OrthancFramework/Resources/CMake/BoostConfiguration.cmake	Thu Feb 25 18:27:28 2021 +0100
+++ b/OrthancFramework/Resources/CMake/BoostConfiguration.cmake	Fri Feb 26 13:50:37 2021 +0100
@@ -130,10 +130,11 @@
 
   if (ORTHANC_BUILDING_FRAMEWORK_LIBRARY)
     add_definitions(
-      # Packaging Boost inside the Orthanc Framework DLL, not exposing
-      # the Boost symbols
+      # Packaging Boost inside the Orthanc Framework DLL
+      -DBOOST_ALL_DYN_LINK      # Expose Boost symbols into the DLL
       -DBOOST_THREAD_BUILD_DLL
       -DBOOST_REGEX_BUILD_DLL
+      -DBOOST_IOSTREAMS_SOURCE
       )
   else()
     add_definitions(