Skip to content

Commit

Permalink
Fixed zlib-ng build error about installing zlibstatic alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Jun 1, 2024
1 parent 1e402d2 commit db940ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit db940ff

Please sign in to comment.