zlib: Update to 1.3.1

This commit is contained in:
Jakub Marcowski 2024-04-09 19:43:43 +02:00 committed by David Capello
parent 24e72a36ba
commit 0c9966df98
2 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@ endif()
if(NOT USE_SHARED_ZLIB)
set(SKIP_INSTALL_ALL on)
# Don't build zlib tests
set(ZLIB_TESTS OFF CACHE BOOL "Build zlib tests")
set(ZLIB_BUILD_EXAMPLES OFF CACHE BOOL "Enable Zlib Examples")
add_subdirectory(zlib)
endif()
@ -127,6 +127,9 @@ endif()
add_subdirectory(json11)
# libarchive
set(HAVE_WCSCPY 1)
set(HAVE_WCSLEN 1)
set(ENABLE_WERROR OFF CACHE BOOL "Treat warnings as errors - default is ON for Debug, OFF otherwise.")
set(ENABLE_TEST OFF CACHE BOOL "Enable unit and regression tests")
set(ENABLE_COVERAGE OFF CACHE BOOL "Enable code coverage (GCC only, automatically sets ENABLE_TEST to ON)")

2
third_party/zlib vendored

@ -1 +1 @@
Subproject commit fc3ecad5d50b59945ffd3f44c78472c3ecc70b87
Subproject commit 51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf