Use libarchive version 3.4.3

This commit is contained in:
Yusuf Sahin HAMZA
2020-04-20 20:50:09 +03:00
committed by manojsdoshi
parent 93bf77bdec
commit 27484f78a9
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
find_package (PkgConfig REQUIRED)
pkg_search_module (libarchive_PC QUIET libarchive>=3.3.3)
pkg_search_module (libarchive_PC QUIET libarchive>=3.4.3)
if(static)
set(LIBARCHIVE_LIB libarchive.a)

View File

@@ -29,7 +29,7 @@ if (NOT local_libarchive)
endif ()
else ()
## now try searching using the minimal find module that cmake provides
find_package(LibArchive 3.3.3 QUIET)
find_package(LibArchive 3.4.3 QUIET)
if (LibArchive_FOUND)
if (static)
# find module doesn't find static libs currently, so we re-search
@@ -70,7 +70,7 @@ if (local_libarchive)
ExternalProject_Add (libarchive
PREFIX ${nih_cache_path}
GIT_REPOSITORY https://github.com/libarchive/libarchive.git
GIT_TAG v3.3.3
GIT_TAG v3.4.3
CMAKE_ARGS
# passing the compiler seems to be needed for windows CI, sadly
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}