comparison 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
comparison
equal deleted inserted replaced
4534:d9700b9f4ad9 4535:c40c1234a696
128 BEFORE ${BOOST_SOURCES_DIR} 128 BEFORE ${BOOST_SOURCES_DIR}
129 ) 129 )
130 130
131 if (ORTHANC_BUILDING_FRAMEWORK_LIBRARY) 131 if (ORTHANC_BUILDING_FRAMEWORK_LIBRARY)
132 add_definitions( 132 add_definitions(
133 # Packaging Boost inside the Orthanc Framework DLL, not exposing 133 # Packaging Boost inside the Orthanc Framework DLL
134 # the Boost symbols 134 -DBOOST_ALL_DYN_LINK # Expose Boost symbols into the DLL
135 -DBOOST_THREAD_BUILD_DLL 135 -DBOOST_THREAD_BUILD_DLL
136 -DBOOST_REGEX_BUILD_DLL 136 -DBOOST_REGEX_BUILD_DLL
137 -DBOOST_IOSTREAMS_SOURCE
137 ) 138 )
138 else() 139 else()
139 add_definitions( 140 add_definitions(
140 # Static build of Boost (this was the only possibility in 141 # Static build of Boost (this was the only possibility in
141 # Orthanc <= 1.7.1) 142 # Orthanc <= 1.7.1)