# HG changeset patch # User Sebastien Jodogne # Date 1522311236 -7200 # Node ID 48db5c1fcbf319903347cef32fcfea958d532dcc # Parent 7c8a246e8652bbf5662972c03e3f283976f31352 fix diff -r 7c8a246e8652 -r 48db5c1fcbf3 Resources/CMake/OrthancFrameworkConfiguration.cmake --- a/Resources/CMake/OrthancFrameworkConfiguration.cmake Thu Mar 29 10:08:06 2018 +0200 +++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake Thu Mar 29 10:13:56 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