Skip to content

Commit

Permalink
Use libarchive version 3.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufsahinhamza authored and manojsdoshi committed May 29, 2020
1 parent 2a3b245 commit 1301f46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Builds/CMake/deps/Findlibarchive_pc.cmake
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions Builds/CMake/deps/Libarchive.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 1301f46

Please sign in to comment.