build minizip as shared lib

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9521 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0992f287fc48d82b7fee98d505ca0f25ef21a160
Former-commit-id: dc1fbfe6b045883c1c0f859cd26733e3e4a8d9cd
This commit is contained in:
iobyte 2024-08-01 22:21:45 +00:00
parent 7485c7fea2
commit 7abebdfb3a

View file

@ -553,7 +553,7 @@ else(OPTION_TINYGLTF)
endif(OPTION_TINYGLTF)
if(OPTION_MINIZIP)
set(MINIZIP_ARGS ${EXTERNALS_CMAKE_ARGS} -D CMAKE_DEBUG_POSTFIX= -D ZEXPORT="dllexport")
set(MINIZIP_ARGS ${EXTERNALS_CMAKE_ARGS} -D CMAKE_DEBUG_POSTFIX= -D BUILD_SHARED_LIBS=on -D ZEXPORT="dllexport")
ExternalProject_Add(${MINIZIP_PROJECT}
URL ${MINIZIP_URL}
URL_HASH ${MINIZIP_HASH}