aboutsummaryrefslogtreecommitdiffstats
path: root/cpio/test/CMakeLists.txt
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2017-03-02 21:13:25 +0000
committerMartin Matuska <mm@FreeBSD.org>2017-03-02 21:13:25 +0000
commit46ab065716a6ecbe96471bebf59ab452a0edcdac (patch)
tree6c9e78f71ff3d3a582111f0897c84bd7491b54b3 /cpio/test/CMakeLists.txt
parent4b729aff5b4c807ecf8795452187ca06d5eb042d (diff)
downloadsrc-46ab065716a6ecbe96471bebf59ab452a0edcdac.tar.gz
src-46ab065716a6ecbe96471bebf59ab452a0edcdac.zip
Update vendor/libarchive to git a15c7f7b496ba4cefbcaf6f8ac637db4f3009a58
Documentation, style, test suite changes and typo fixes. New bsdtar tests for --acls and --fflags options.
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=314567
Diffstat (limited to 'cpio/test/CMakeLists.txt')
-rw-r--r--cpio/test/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpio/test/CMakeLists.txt b/cpio/test/CMakeLists.txt
index ec9509be98fa..cc5fe0117db3 100644
--- a/cpio/test/CMakeLists.txt
+++ b/cpio/test/CMakeLists.txt
@@ -62,6 +62,11 @@ IF(ENABLE_CPIO AND ENABLE_TEST)
# Register target
#
ADD_EXECUTABLE(bsdcpio_test ${bsdcpio_test_SOURCES})
+ IF(ENABLE_ACL)
+ IF(HAVE_LIBACL)
+ TARGET_LINK_LIBRARIES(bsdcpio_test ${ACL_LIBRARY})
+ ENDIF(HAVE_LIBACL)
+ ENDIF(ENABLE_ACL)
SET_PROPERTY(TARGET bsdcpio_test PROPERTY COMPILE_DEFINITIONS LIST_H)
#