~blue-shell/blue-shell/kfilemetadata

« back to all changes in this revision

Viewing changes to cmake/FindXattr.cmake

  • Committer: Andreas Sturmlechner
  • Author(s): Lars Wendler
  • Date: 2018-01-16 17:57:42 UTC
  • Revision ID: git-v1:4bbc7a2f5c77921e687f33e84e79776859eddfdb
Fix build with >=attr-2.4.48

Summary: It was looking for long deprecated attr/xattr.h header.

Test Plan: Built fine with attr-2.4.47 and 2.4.48.

Reviewers: #frameworks, mgallien

Reviewed By: mgallien

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D9880

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    set(XATTR_FOUND TRUE)
14
14
else ()
15
15
 
16
 
    find_path(XATTR_INCLUDE attr/xattr.h
 
16
    find_path(XATTR_INCLUDE sys/xattr.h
17
17
        /usr/include
18
18
        /usr/local/include
19
19
        ${CMAKE_INCLUDE_PATH}