Skip to content

Commit

Permalink
static ZLIB
Browse files Browse the repository at this point in the history
  • Loading branch information
xurei committed Oct 8, 2023
1 parent b6f547d commit 1b6b207
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ if(OS_WINDOWS)
target_link_libraries(${PROJECT_NAME}
${LIBZIP_LIBRARY}
)
set(ZLIB_USE_STATIC_LIBS ON)
find_package(ZLIB REQUIRED)
target_link_libraries(${PROJECT_NAME} ${ZLIB_LIBRARIES})
include_directories(${ZLIB_INCLUDE_DIRS})
Expand Down

0 comments on commit 1b6b207

Please sign in to comment.