diff options
author | joerg <joerg@pkgsrc.org> | 2017-08-01 22:21:11 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-08-01 22:21:11 +0000 |
commit | 941762f14ba6415727cdda4c6039ad103c34a479 (patch) | |
tree | 80fe5b627eb5287dbe256d01cff629b4ed088ba6 /archivers/libarchive/files/cat/test/CMakeLists.txt | |
parent | 2d98c0c6588efc6b806de1afa47764b89358e2ba (diff) | |
download | pkgsrc-941762f14ba6415727cdda4c6039ad103c34a479.tar.gz |
Import libarchive-3.3.2 + 9de5f3 + f9dacbf:
- Support NFS4 ACLs on Linux
- Bugfixes
Diffstat (limited to 'archivers/libarchive/files/cat/test/CMakeLists.txt')
-rw-r--r-- | archivers/libarchive/files/cat/test/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/archivers/libarchive/files/cat/test/CMakeLists.txt b/archivers/libarchive/files/cat/test/CMakeLists.txt index 7f1ce5e77d1..0cd3aad84f4 100644 --- a/archivers/libarchive/files/cat/test/CMakeLists.txt +++ b/archivers/libarchive/files/cat/test/CMakeLists.txt @@ -29,6 +29,16 @@ IF(ENABLE_CAT AND ENABLE_TEST) # Register target # ADD_EXECUTABLE(bsdcat_test ${bsdcat_test_SOURCES}) + IF(ENABLE_ACL) + SET(TEST_ACL_LIBS "") + IF(HAVE_LIBACL) + LIST(APPEND TEST_ACL_LIBS ${ACL_LIBRARY}) + ENDIF(HAVE_LIBACL) + IF(HAVE_LIBRICHACL) + LIST(APPEND TEST_ACL_LIBS ${RICHACL_LIBRARY}) + ENDIF(HAVE_LIBRICHACL) + TARGET_LINK_LIBRARIES(bsdcat_test ${TEST_ACL_LIBS}) + ENDIF(ENABLE_ACL) SET_PROPERTY(TARGET bsdcat_test PROPERTY COMPILE_DEFINITIONS LIST_H) # |