summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregor Jasny <Gregor.Jasny@citrix.com>2015-01-29 06:31:37 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-29 13:46:01 (GMT)
commit3526daf5a2667d4bf8aee442d6e73f8b71ea6efc (patch)
treef34ca05ec7797617eaf375a7b544ca148e83ab88
parentde4ccee75a89519f95fcbcca75abc46577bfefea (diff)
downloadCMake-3526daf5a2667d4bf8aee442d6e73f8b71ea6efc.zip
CMake-3526daf5a2667d4bf8aee442d6e73f8b71ea6efc.tar.gz
CMake-3526daf5a2667d4bf8aee442d6e73f8b71ea6efc.tar.bz2
Require libarchive 3.0.0 or later
Older versions do not provide archive_entry_copy_sourcepath_w.
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8ad1be8..e61621d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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()