diff options
author | Brad King <brad.king@kitware.com> | 2011-04-05 18:28:28 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2011-04-05 18:28:28 (GMT) |
commit | cc2585b1ebe39815250296d1e493931a4456d72b (patch) | |
tree | 5faf354ab11626f1b8d8954b7aeb175f50fe454a | |
parent | 3b16aa622e12f9fff46140291bb423d2b03cf90a (diff) | |
parent | 9c78ef13951de5a4b648823bb574e9436e6b7504 (diff) | |
download | CMake-cc2585b1ebe39815250296d1e493931a4456d72b.zip CMake-cc2585b1ebe39815250296d1e493931a4456d72b.tar.gz CMake-cc2585b1ebe39815250296d1e493931a4456d72b.tar.bz2 |
Merge topic 'nonstandard-system-libarchive'
9c78ef1 COMP: Fix build against non-standard outside libarchive
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c40bc26..93822ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -325,6 +325,7 @@ MACRO (CMAKE_BUILD_UTILITIES) IF(NOT LibArchive_FOUND) MESSAGE(FATAL_ERROR "CMAKE_USE_SYSTEM_LIBARCHIVE is ON but LibArchive is not found!") ENDIF() + SET(CMAKE_TAR_INCLUDES ${LibArchive_INCLUDE_DIRS}) SET(CMAKE_TAR_LIBRARIES ${LibArchive_LIBRARIES}) ELSE(CMAKE_USE_SYSTEM_LIBARCHIVE) SET(HAVE_LIBZ 1) |