Merge topic 'build-require-libarchive-3'
3526daf5
Require libarchive 3.0.0 or later
This commit is contained in:
commit
fa5f566776
|
@ -336,7 +336,7 @@ macro (CMAKE_BUILD_UTILITIES)
|
|||
#---------------------------------------------------------------------
|
||||
# Build or use system libarchive for CMake and CTest.
|
||||
if(CMAKE_USE_SYSTEM_LIBARCHIVE)
|
||||
find_package(LibArchive)
|
||||
find_package(LibArchive 3.0.0)
|
||||
if(NOT LibArchive_FOUND)
|
||||
message(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBARCHIVE is ON but LibArchive is not found!")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue