diff --git a/depends/CMakeLists.txt b/depends/CMakeLists.txt index 9dd3ac7e10..6b23c1f527 100644 --- a/depends/CMakeLists.txt +++ b/depends/CMakeLists.txt @@ -71,6 +71,8 @@ set(LIBZIP_DO_INSTALL OFF CACHE BOOL "") add_subdirectory(libzip) if(MSVC) target_compile_options(zip PRIVATE /wd4244) +elseif(UNIX) + set_target_properties(zip PROPERTIES COMPILE_FLAGS "-Wno-stringop-truncation -Wno-stringop-overflow") endif() set(XLSXIO_USE_DFHACK_LIBS ON CACHE BOOL "") diff --git a/depends/libzip b/depends/libzip index fc4a77ea28..8e513eb5c8 160000 --- a/depends/libzip +++ b/depends/libzip @@ -1 +1 @@ -Subproject commit fc4a77ea28eb5eba0ecd11443f291335ec3d2aa0 +Subproject commit 8e513eb5c876991535ba86480aa96f633edb0e64