Skip to content
Permalink
Browse files

cmake: disable acl on win32 by default

a previous patch broke win32 builds when it failed
a build with acl enabled, but libacl was not
available.
As win32 does not require libacl to support acl
we simply ignore wether or not libacl is available
on win32.
  • Loading branch information...
arogge committed Mar 14, 2019
1 parent 0ba3f41 commit 3ac644bb40d0d4e44bb604968abeb05d1d6fac6b
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 3ac644b

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