aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorU-RAYYAN-PC\Rayyan <68647953+WaluigiWare64@users.noreply.github.com>2020-07-22 14:22:23 +0100
committerU-RAYYAN-PC\Rayyan <68647953+WaluigiWare64@users.noreply.github.com>2020-07-22 14:22:23 +0100
commit523ff9ff1cc46f811fc60136673e1ca2adbf84ff (patch)
treed9ec24321c00b9384bd69a36b0951bcd086fcf97 /src
parent3827fa562fc67ae25c152a8c861c4671a68a1ccb (diff)
Add libzip dependency in the workflow files and to CMakeLists.txt
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
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()