Mercurial > hg > orthanc
changeset 6464:621cb02ff962
fix missing symbols in windows shared library
| author | Sebastien Jodogne <s.jodogne@gmail.com> |
|---|---|
| date | Wed, 19 Nov 2025 20:58:48 +0100 |
| parents | 6874547dca66 |
| children | b0251a5ab8ab |
| files | OrthancFramework/SharedLibrary/CMakeLists.txt |
| diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/SharedLibrary/CMakeLists.txt Wed Nov 19 18:30:51 2025 +0100 +++ b/OrthancFramework/SharedLibrary/CMakeLists.txt Wed Nov 19 20:58:48 2025 +0100 @@ -194,7 +194,9 @@ # Control the visibility of Boost if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND ORTHANC_STATIC_BOOST) - set_source_files_properties(${ORTHANC_CORE_SOURCES_INTERNAL} + set_source_files_properties( + ${ORTHANC_CORE_SOURCES_INTERNAL} + ${ORTHANC_DICOM_SOURCES_INTERNAL} PROPERTIES COMPILE_DEFINITIONS "BOOST_DATE_TIME_SOURCE;BOOST_FILESYSTEM_SOURCE;BOOST_LOCALE_SOURCE;BOOST_REGEX_SOURCE" ) endif()
