changeset 2529:ae5f98eadb75

fix in Orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 16 Apr 2018 15:08:41 +0200
parents 832217e4e872
children 3eda46f91834
files Resources/CMake/OrthancFrameworkConfiguration.cmake
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkConfiguration.cmake	Fri Apr 13 13:11:25 2018 +0200
+++ b/Resources/CMake/OrthancFrameworkConfiguration.cmake	Mon Apr 16 15:08:41 2018 +0200
@@ -283,6 +283,12 @@
     ${ORTHANC_ROOT}/Core/Compression/ZipWriter.cpp
     ${ORTHANC_ROOT}/Core/Compression/ZlibCompressor.cpp
     )
+
+  if (NOT ORTHANC_SANDBOXED)
+    list(APPEND ORTHANC_CORE_SOURCES_INTERNAL
+      ${ORTHANC_ROOT}/Core/FileStorage/StorageAccessor.cpp
+      )
+  endif()
 endif()
 
 
@@ -483,7 +489,6 @@
   list(APPEND ORTHANC_CORE_SOURCES_INTERNAL
     ${ORTHANC_ROOT}/Core/Cache/SharedArchive.cpp
     ${ORTHANC_ROOT}/Core/FileStorage/FilesystemStorage.cpp
-    ${ORTHANC_ROOT}/Core/FileStorage/StorageAccessor.cpp
     ${ORTHANC_ROOT}/Core/MultiThreading/BagOfTasksProcessor.cpp
     ${ORTHANC_ROOT}/Core/MultiThreading/Mutex.cpp
     ${ORTHANC_ROOT}/Core/MultiThreading/ReaderWriterLock.cpp