comparison Resources/CMake/ZlibConfiguration.cmake @ 1414:0a67a502c90f

fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jun 2015 21:14:05 +0200
parents 8811abd6aec9
children 9a1c7293955b
comparison
equal deleted inserted replaced
1413:98fa856b4f8f 1414:0a67a502c90f
1 # This is the minizip distribution to create ZIP files 1 # This is the minizip distribution to create ZIP files
2 list(APPEND THIRD_PARTY_SOURCES 2 set(ZLIB_SOURCES
3 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c 3 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c
4 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c 4 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c
5 ) 5 )
6 6
7 if (STATIC_BUILD OR NOT USE_SYSTEM_ZLIB) 7 if (STATIC_BUILD OR NOT USE_SYSTEM_ZLIB)
13 13
14 include_directories( 14 include_directories(
15 ${ZLIB_SOURCES_DIR} 15 ${ZLIB_SOURCES_DIR}
16 ) 16 )
17 17
18 list(APPEND THIRD_PARTY_SOURCES 18 list(APPEND ZLIB_SOURCES
19 ${ZLIB_SOURCES_DIR}/adler32.c 19 ${ZLIB_SOURCES_DIR}/adler32.c
20 ${ZLIB_SOURCES_DIR}/compress.c 20 ${ZLIB_SOURCES_DIR}/compress.c
21 ${ZLIB_SOURCES_DIR}/crc32.c 21 ${ZLIB_SOURCES_DIR}/crc32.c
22 ${ZLIB_SOURCES_DIR}/deflate.c 22 ${ZLIB_SOURCES_DIR}/deflate.c
23 ${ZLIB_SOURCES_DIR}/gzclose.c 23 ${ZLIB_SOURCES_DIR}/gzclose.c