mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
Merge topic 'nonstandard-system-libarchive'
9c78ef1 COMP: Fix build against non-standard outside libarchive
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user