comparison Resources/CMake/OrthancFrameworkConfiguration.cmake @ 2785:a16ad34d46f1

fix msvc build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 24 Jul 2018 20:11:02 +0200
parents 167105b5b48e
children d015fa861e3c
comparison
equal deleted inserted replaced
2784:167105b5b48e 2785:a16ad34d46f1
300 if (NOT ORTHANC_SANDBOXED) 300 if (NOT ORTHANC_SANDBOXED)
301 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL 301 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL
302 ${ORTHANC_ROOT}/Core/Compression/HierarchicalZipWriter.cpp 302 ${ORTHANC_ROOT}/Core/Compression/HierarchicalZipWriter.cpp
303 ${ORTHANC_ROOT}/Core/Compression/ZipWriter.cpp 303 ${ORTHANC_ROOT}/Core/Compression/ZipWriter.cpp
304 ${ORTHANC_ROOT}/Core/FileStorage/StorageAccessor.cpp 304 ${ORTHANC_ROOT}/Core/FileStorage/StorageAccessor.cpp
305
306 # This is the minizip distribution to create ZIP files using zlib
307 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c
308 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c
309 ) 305 )
310 endif() 306 endif()
311 endif() 307 endif()
312 308
313 309
559 ${UUID_SOURCES} 555 ${UUID_SOURCES}
560 ${ZLIB_SOURCES} 556 ${ZLIB_SOURCES}
561 557
562 ${ORTHANC_ROOT}/Resources/ThirdParty/md5/md5.c 558 ${ORTHANC_ROOT}/Resources/ThirdParty/md5/md5.c
563 ${ORTHANC_ROOT}/Resources/ThirdParty/base64/base64.cpp 559 ${ORTHANC_ROOT}/Resources/ThirdParty/base64/base64.cpp
564 ) 560 )
561
562 if (ENABLE_ZLIB AND NOT ORTHANC_SANDBOXED)
563 list(APPEND ORTHANC_CORE_SOURCES_DEPENDENCIES
564 # This is the minizip distribution to create ZIP files using zlib
565 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c
566 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c
567 )
568 endif()
565 569
566 570
567 set(ORTHANC_CORE_SOURCES 571 set(ORTHANC_CORE_SOURCES
568 ${ORTHANC_CORE_SOURCES_INTERNAL} 572 ${ORTHANC_CORE_SOURCES_INTERNAL}
569 ${ORTHANC_CORE_SOURCES_DEPENDENCIES} 573 ${ORTHANC_CORE_SOURCES_DEPENDENCIES}