mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Fixed zlib-ng build error about installing zlibstatic alias.
This commit is contained in:
parent
1e402d2c2a
commit
db940ff659
@ -206,7 +206,7 @@ if(MZ_ZLIB)
|
||||
list(APPEND MINIZIP_INC ${ZLIB_BINARY_DIR})
|
||||
|
||||
# Have to add zlib to install targets
|
||||
if(NOT DEFINED BUILD_SHARED_LIBS OR NOT BUILD_SHARED_LIBS)
|
||||
if(ZLIB_COMPAT AND (NOT DEFINED BUILD_SHARED_LIBS OR NOT BUILD_SHARED_LIBS))
|
||||
list(APPEND MINIZIP_DEP zlibstatic)
|
||||
else()
|
||||
list(APPEND MINIZIP_DEP zlib)
|
||||
|
Loading…
x
Reference in New Issue
Block a user