# HG changeset patch # User Sebastien Jodogne # Date 1522311324 -7200 # Node ID 8a6861f2b0be669ab16db242edd8b7688c197324 # Parent 795d71f66f3180d37ad614bcadcc33597ffe6a15 sync diff -r 795d71f66f31 -r 8a6861f2b0be Resources/Orthanc/Resources/CMake/OrthancFrameworkConfiguration.cmake --- a/Resources/Orthanc/Resources/CMake/OrthancFrameworkConfiguration.cmake Thu Mar 29 10:09:03 2018 +0200 +++ b/Resources/Orthanc/Resources/CMake/OrthancFrameworkConfiguration.cmake Thu Mar 29 10:15:24 2018 +0200 @@ -405,6 +405,12 @@ ${ORTHANC_ROOT}/Core/DicomParsing/Internals/DicomImageDecoder.cpp ) + if (NOT ORTHANC_SANDBOXED) + list(APPEND ORTHANC_CORE_SOURCES_INTERNAL + ${ORTHANC_ROOT}/Core/DicomParsing/DicomDirWriter.cpp + ) + endif() + if (ENABLE_DCMTK_NETWORKING) add_definitions(-DORTHANC_ENABLE_DCMTK_NETWORKING=1) list(APPEND ORTHANC_DICOM_SOURCES_INTERNAL @@ -476,7 +482,6 @@ list(APPEND ORTHANC_CORE_SOURCES_INTERNAL ${ORTHANC_ROOT}/Core/Cache/SharedArchive.cpp - ${ORTHANC_ROOT}/Core/DicomParsing/DicomDirWriter.cpp ${ORTHANC_ROOT}/Core/FileStorage/FilesystemStorage.cpp ${ORTHANC_ROOT}/Core/FileStorage/StorageAccessor.cpp ${ORTHANC_ROOT}/Core/MultiThreading/BagOfTasksProcessor.cpp