libs: linked minizip against zlib

This commit is contained in:
Remy Marquis 2015-12-10 12:31:23 +01:00
parent fee391d00e
commit 32ca35a7c7

View file

@ -559,6 +559,9 @@ if(BUNDLED_MINIZIP)
)
add_library (bundled_minizip STATIC ${MINIZIP_LIB_SRC} ${MINIZIP_LIB_HEADERS})
if(BUNDLED_ZLIB)
target_link_libraries(bundled_minizip bundled_zlib)
endif(BUNDLED_ZLIB)
set(MINIZIP_BUNDLED_LIBRARIES bundled_minizip)
set(MINIZIP_BUNDLED_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/minizip")
endif(BUNDLED_MINIZIP)