libarchive: We now require at least version 3.3.3

It's the first version including Zstandard support.
This commit is contained in:
Marvin Schmidt 2019-08-25 23:12:36 +02:00 committed by Brad King
parent 40bbe50e23
commit 752fa8be9d

View File

@ -511,7 +511,7 @@ macro (CMAKE_BUILD_UTILITIES)
#---------------------------------------------------------------------
# Build or use system libarchive for CMake and CTest.
if(CMAKE_USE_SYSTEM_LIBARCHIVE)
find_package(LibArchive 3.1.0)
find_package(LibArchive 3.3.3)
if(NOT LibArchive_FOUND)
message(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBARCHIVE is ON but LibArchive is not found!")
endif()