Skip to content

Commit

Permalink
Merge pull request #159 from bareos/dev/arogge/master/acl-buildflag
Browse files Browse the repository at this point in the history
cmake: ignore acl setting on win32
  • Loading branch information
arogge committed Mar 15, 2019
2 parents 24b4360 + 3ac644b commit a3affbe
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions core/CMakeLists.txt
Expand Up @@ -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}")
Expand Down

0 comments on commit a3affbe

Please sign in to comment.