diff options
author | Martin Matuska <martin@matuska.org> | 2018-10-06 21:43:30 +0200 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2018-10-06 22:05:07 +0200 |
commit | c5013112229053d438cfd722497220742a146db6 (patch) | |
tree | d9f47f0a6d8dffb3e24b8811180b98dcaa70dbca /libarchive/CMakeLists.txt | |
parent | cd43985f51fef3b2d88a93103f695ac30377a0e5 (diff) | |
download | libarchive-c5013112229053d438cfd722497220742a146db6.tar.gz |
archive_read_support_format_rar5: enable blake2 support via libb2
Diffstat (limited to 'libarchive/CMakeLists.txt')
-rw-r--r-- | libarchive/CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libarchive/CMakeLists.txt b/libarchive/CMakeLists.txt index 972403b4..79719773 100644 --- a/libarchive/CMakeLists.txt +++ b/libarchive/CMakeLists.txt @@ -53,8 +53,6 @@ SET(libarchive_SOURCES archive_ppmd_private.h archive_ppmd7.c archive_ppmd7_private.h - archive_blake2sp_ref.c - archive_blake2s_ref.c archive_private.h archive_random.c archive_random_private.h @@ -218,6 +216,11 @@ IF(WIN32 AND NOT CYGWIN) LIST(APPEND libarchive_SOURCES filter_fork_windows.c) ENDIF(WIN32 AND NOT CYGWIN) +IF(ARCHIVE_BLAKE2) + LIST(APPEND libarchive_SOURCES archive_blake2sp_ref.c) + LIST(APPEND libarchive_SOURCES archive_blake2s_ref.c) +ENDIF(ARCHIVE_BLAKE2) + IF(ARCHIVE_ACL_DARWIN) LIST(APPEND libarchive_SOURCES archive_disk_acl_darwin.c) ELSEIF(ARCHIVE_ACL_FREEBSD) |