Skip to content
Permalink
Browse files

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

cmake: ignore acl setting on win32
  • Loading branch information...
arogge committed Mar 15, 2019
2 parents 24b4360 + 3ac644b commit a3affbea2047441c19df7cae067b6e47ce030a9a
Showing with 8 additions and 6 deletions.
  1. +8 −6 core/CMakeLists.txt
@@ -486,12 +486,14 @@ set(have_plugins "${have_plugins}" )
set(have_afs "" )

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()
if(NOT HAVE_WIN32)
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()
endif()

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

0 comments on commit a3affbe

Please sign in to comment.
You can’t perform that action at this time.