Mercurial > hg > orthanc
comparison OrthancFramework/Resources/CMake/BoostConfiguration.cmake @ 4307:2a9d304b3a82
fix build of Orthanc framework DLL for Windows
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 06 Nov 2020 21:13:45 +0100 |
parents | e99d1ad11cfe |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4306:548d77dfb8bc | 4307:2a9d304b3a82 |
---|---|
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 | 133 # Packaging Boost inside the Orthanc Framework DLL, not exposing |
134 -DBOOST_ALL_DYN_LINK | 134 # the Boost symbols |
135 -DBOOST_THREAD_BUILD_DLL | 135 -DBOOST_THREAD_BUILD_DLL |
136 #-DBOOST_REGEX_BUILD_DLL | 136 -DBOOST_REGEX_BUILD_DLL |
137 ) | 137 ) |
138 else() | 138 else() |
139 add_definitions( | 139 add_definitions( |
140 # Static build of Boost (this was the only possibility in | 140 # Static build of Boost (this was the only possibility in |
141 # Orthanc <= 1.7.1) | 141 # Orthanc <= 1.7.1) |