Don't use libxml2 on libarchive

This commit is contained in:
David Capello 2018-04-03 13:01:32 -03:00
parent b55ae10aba
commit d9462e912c

View File

@ -129,6 +129,7 @@ set(ENABLE_COVERAGE OFF CACHE BOOL "Enable code coverage (GCC only, automaticall
set(ENABLE_LZMA OFF CACHE BOOL "Enable the use of the system LZMA library if found")
set(ENABLE_CNG OFF CACHE BOOL "Enable the use of CNG(Crypto Next Generation)")
set(ENABLE_BZip2 OFF CACHE BOOL "Enable the use of the system BZip2 library if found")
set(ENABLE_LIBXML2 OFF CACHE BOOL "Enable the use of the system libxml2 library if found")
add_subdirectory(libarchive)
target_include_directories(archive_static INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/libarchive/libarchive>)