Skip to content
Permalink
Browse files

Merge pull request #155 from bareos/dev/arogge/master/acl-buildflag

cmake: reasonable error for missing acl library
  • Loading branch information...
pstorz committed Mar 8, 2019
2 parents 808cdb6 + 0ba3f41 commit 24b4360f8b516a522757669b1bc481e8a8ac9229
Showing with 7 additions and 3 deletions.
  1. +7 −3 core/CMakeLists.txt
@@ -485,9 +485,13 @@ set(build_stored "${build-stored}" )
set(have_plugins "${have_plugins}" )
set(have_afs "" )

if(${acl} AND ${HAVE_SYS_ACL_H})
set(HAVE_ACL 1)
Message(STATUS "acl found, libs: ${ACL_LIBS}")
if(${acl})
if(${HAVE_SYS_ACL_H})
set(HAVE_ACL 1)
Message(STATUS "acl found, libs: ${ACL_LIBS}")
else()
Message(FATAL_ERROR "build with acl requested, but lib not found")
endif()
endif()

if("${HAVE_SYS_XATTR_H}" OR "${HAVE_SYS_EXTATTR_H}")

0 comments on commit 24b4360

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.