diff --git a/Externals/minizip/CMakeLists.txt b/Externals/minizip/CMakeLists.txt index 3b8d84043f..cfd1f88d59 100644 --- a/Externals/minizip/CMakeLists.txt +++ b/Externals/minizip/CMakeLists.txt @@ -13,4 +13,6 @@ endif() add_library(minizip STATIC ${SRCS}) target_include_directories(minizip PUBLIC .) +target_link_libraries(minizip PUBLIC z) + add_library(MiniZip::minizip ALIAS minizip)