Merge topic 'build-require-libarchive-3'

3526daf5 Require libarchive 3.0.0 or later
This commit is contained in:
Brad King 2015-01-30 10:23:01 -05:00 committed by CMake Topic Stage
commit fa5f566776
1 changed files with 1 additions and 1 deletions

View File

@ -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()