aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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()