mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-01-26 19:09:06 +00:00
libarchive: Set build options the way we need for CMake
This commit is contained in:
parent
21affa271e
commit
dad12c8010
@ -260,6 +260,7 @@ if(CMAKE_USE_SYSTEM_LIBARCHIVE)
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${LibArchive_INCLUDE_DIRS}")
|
||||
endif ()
|
||||
else()
|
||||
set(DONT_FAIL_ON_CRC_ERROR OFF)
|
||||
set(EXPAT_INCLUDE_DIR ${CMAKE_EXPAT_INCLUDES})
|
||||
set(EXPAT_LIBRARY ${CMAKE_EXPAT_LIBRARIES})
|
||||
set(ENABLE_MBEDTLS OFF)
|
||||
@ -279,6 +280,7 @@ else()
|
||||
set(ENABLE_LIBXML2 OFF)
|
||||
set(ENABLE_EXPAT OFF)
|
||||
set(ENABLE_PCREPOSIX OFF)
|
||||
set(ENABLE_PCRE2POSIX OFF)
|
||||
set(ENABLE_LIBGCC OFF)
|
||||
set(ENABLE_CNG OFF)
|
||||
set(ENABLE_TAR OFF)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user