feat(crypto,archive): implement VL-007 built-in hashes and VL-006 archive creation/gzip/tar fallback
This commit is contained in:
1 parent
b50131f52e
commit
22c8538754
19 files changed
+3326
-133
No files matched your search
@@ -1,4 +1,19 @@
|
||||
set(_void_archive_ext_deps "")
|
||||
set(_void_archive_has_libarchive 0)
|
||||
if(NOT CMAKE_DISABLE_FIND_PACKAGE_LibArchive)
|
||||
if(NOT TARGET LibArchive::LibArchive)
|
||||
find_package(LibArchive QUIET)
|
||||
endif()
|
||||
if(TARGET LibArchive::LibArchive)
|
||||
list(APPEND _void_archive_ext_deps LibArchive::LibArchive)
|
||||
set(_void_archive_has_libarchive 1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
void_add_module(Archive
|
||||
INTERNAL_DEPS Functional Time System
|
||||
EXTERNAL_DEPS LibArchive::LibArchive
|
||||
EXTERNAL_DEPS ${_void_archive_ext_deps}
|
||||
)
|
||||
target_compile_definitions(Void_Archive PUBLIC
|
||||
VOID_ARCHIVE_HAS_LIBARCHIVE=${_void_archive_has_libarchive}
|
||||
)
|
||||
Reference in new issue
Block a user