3rdParty: add zlib dependency for minizip
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9496 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 3069823fa03db7bc9959476a5a895765e468d3e4 Former-commit-id: 63a982d56e9960444d10761fea5ccf654c8ea77e
This commit is contained in:
parent
07522bc4b8
commit
e3c6a0d4a2
1 changed files with 7 additions and 5 deletions
|
@ -553,19 +553,21 @@ else(OPTION_TINYGLTF)
|
|||
endif(OPTION_TINYGLTF)
|
||||
|
||||
if(OPTION_MINIZIP)
|
||||
set(MINIZIP_ARGS ${EXTERNALS_CMAKE_ARGS}
|
||||
-D CMAKE_DEBUG_POSTFIX= )
|
||||
set(MINIZIP_ARGS ${EXTERNALS_CMAKE_ARGS} -D CMAKE_DEBUG_POSTFIX=
|
||||
-D MZ_ZSTD=OFF
|
||||
-D MZ_BZIP2=OFF
|
||||
-D MZ_LZMA=OFF )
|
||||
ExternalProject_Add(${MINIZIP_PROJECT}
|
||||
URL ${MINIZIP_URL}
|
||||
URL_HASH ${MINIZIP_HASH}
|
||||
CMAKE_ARGS ${MINIZIP_ARGS})
|
||||
CMAKE_ARGS ${MINIZIP_ARGS}
|
||||
DEPENDS ${ZLIB_PROJECT})
|
||||
else(OPTION_MINIZIP)
|
||||
set(MINIZIP_PROJECT )
|
||||
endif(OPTION_MINIZIP)
|
||||
|
||||
if(OPTION_CJSON)
|
||||
set(CJSON_ARGS ${EXTERNALS_CMAKE_ARGS}
|
||||
-D CMAKE_DEBUG_POSTFIX= )
|
||||
set(CJSON_ARGS ${EXTERNALS_CMAKE_ARGS} -D CMAKE_DEBUG_POSTFIX= )
|
||||
ExternalProject_Add(${CJSON_PROJECT}
|
||||
URL ${CJSON_URL}
|
||||
URL_HASH ${CJSON_HASH}
|
||||
|
|
Loading…
Reference in a new issue