Mercurial > hg > orthanc
changeset 2397:98c2a9c2c0fc
automated inclusion of DICOM dictionaries
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Aug 2017 17:18:16 +0200 |
parents | c244a61a5fd8 |
children | 971eb08553a9 |
files | Resources/CMake/OrthancFrameworkConfiguration.cmake |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake Wed Aug 30 16:43:48 2017 +0200 +++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake Wed Aug 30 17:18:16 2017 +0200 @@ -353,6 +353,15 @@ else() add_definitions(-DORTHANC_ENABLE_DCMTK_NETWORKING=0) endif() + + if (STANDALONE_BUILD AND NOT HAS_EMBEDDED_RESOURCES) + EmbedResources( + ${DCMTK_DICTIONARIES} + ) + list(APPEND ORTHANC_DICOM_SOURCES_DEPENDENCIES + ${AUTOGENERATED_SOURCES} + ) + endif() else() add_definitions( @@ -438,7 +447,7 @@ ) if (ENABLE_DCMTK) - set(ORTHANC_DICOM_SOURCES_DEPENDENCIES + list(APPEND ORTHANC_DICOM_SOURCES_DEPENDENCIES ${DCMTK_SOURCES} )