From 9495f6f7aa7cc187b1413709a43f4a5e3612f832 Mon Sep 17 00:00:00 2001 From: benrubson Date: Mon, 26 Mar 2018 23:20:32 +0200 Subject: [PATCH] Cygwin, disable xattr support --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ff68afb..6eee2df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,8 +105,10 @@ find_program (POD2MAN pod2man) # Check for include files and stdlib properties. include (CheckIncludeFileCXX) -check_include_file_cxx (attr/xattr.h HAVE_ATTR_XATTR_H) -check_include_file_cxx (sys/xattr.h HAVE_SYS_XATTR_H) +if (NOT CYGWIN) + check_include_file_cxx (attr/xattr.h HAVE_ATTR_XATTR_H) + check_include_file_cxx (sys/xattr.h HAVE_SYS_XATTR_H) +endif() include(CheckStructHasMember) check_struct_has_member("struct dirent" d_type dirent.h HAVE_DIRENT_D_TYPE LANGUAGE CXX)