diff options
author | Martin Matuska <martin@matuska.org> | 2017-03-02 14:19:38 +0100 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2017-03-02 16:10:26 +0100 |
commit | f5d473ed0b708f59f34c702891792efc9bb0817f (patch) | |
tree | c209007a2c49fd08ee93f7cc8bd40cb7501ed6a5 /cpio | |
parent | 60f0931d3b97e00616d7122321e34116d926bcc5 (diff) | |
download | libarchive-f5d473ed0b708f59f34c702891792efc9bb0817f.tar.gz |
New tar test: test_option_acls
Add sunacl_get() and setTestAcl() to common test code
Test for membership.h on Mac OS X and make it a requirement for ACLs
Diffstat (limited to 'cpio')
-rw-r--r-- | cpio/test/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpio/test/CMakeLists.txt b/cpio/test/CMakeLists.txt index ec9509be..cc5fe011 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) # |