From 51e025f6dc03fcfe6173b60fd1a0b45bd7d6e759 Mon Sep 17 00:00:00 2001 From: spycrab Date: Wed, 8 May 2019 20:58:16 +0200 Subject: [PATCH] Externals/minizip: Link against zlib --- Externals/minizip/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) 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)