mirror of
https://github.com/etlegacy/etlegacy-libs.git
synced 2024-11-10 14:51:58 +00:00
libs: linked minizip against zlib
This commit is contained in:
parent
fee391d00e
commit
32ca35a7c7
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue