From 523ff9ff1cc46f811fc60136673e1ca2adbf84ff Mon Sep 17 00:00:00 2001 From: "U-RAYYAN-PC\\Rayyan" <68647953+WaluigiWare64@users.noreply.github.com> Date: Wed, 22 Jul 2020 14:22:23 +0100 Subject: Add libzip dependency in the workflow files and to CMakeLists.txt --- src/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 84bbc2b..f1a5a91 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -93,8 +93,9 @@ if (ENABLE_JIT) endif() endif() +find_library(LIBZIP_LIB zip) if (WIN32) - target_link_libraries(core ole32 comctl32 ws2_32 opengl32) + target_link_libraries(core ole32 comctl32 ws2_32 opengl32 ${LIBZIP_LIB}) else() - target_link_libraries(core GL EGL) + target_link_libraries(core GL EGL ${LIBZIP_LIB}) endif() -- cgit v1.2.3