Add libzip dependency in the workflow files and to CMakeLists.txt

This commit is contained in:
U-RAYYAN-PC\Rayyan
2020-07-22 14:22:23 +01:00
parent 3827fa562f
commit 523ff9ff1c
4 changed files with 6 additions and 5 deletions

View File

@ -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()