mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
check xopt args quietly
This commit is contained in:
parent
9632b7a36c
commit
faf35fabf9
@ -47,11 +47,15 @@ check_include_file_cxx (tr1/unordered_set HAVE_TR1_UNORDERED_SET)
|
|||||||
check_include_file_cxx (tr1/tuple HAVE_TR1_TUPLE)
|
check_include_file_cxx (tr1/tuple HAVE_TR1_TUPLE)
|
||||||
|
|
||||||
# Check if xattr functions take extra arguments, as they do on OSX.
|
# Check if xattr functions take extra arguments, as they do on OSX.
|
||||||
|
# Output error is misleading, so do this test quietly.
|
||||||
include (CheckCXXSourceCompiles)
|
include (CheckCXXSourceCompiles)
|
||||||
|
set(CMAKE_REQUIRED_QUIET_SAVE ${CMAKE_REQUIRED_QUIET})
|
||||||
|
set (CMAKE_REQUIRED_QUIET True)
|
||||||
check_cxx_source_compiles ("#include <sys/types.h>
|
check_cxx_source_compiles ("#include <sys/types.h>
|
||||||
#include <sys/xattr.h>
|
#include <sys/xattr.h>
|
||||||
int main() { getxattr(0,0,0,0,0,0); return 1; }
|
int main() { getxattr(0,0,0,0,0,0); return 1; }
|
||||||
" XATTR_ADD_OPT)
|
" XATTR_ADD_OPT)
|
||||||
|
set (CMAKE_REQUIRED_QUIET ${CMAKE_REQUIRED_QUIET_SAVE})
|
||||||
|
|
||||||
# Check if we have lchmod.
|
# Check if we have lchmod.
|
||||||
include (CheckFuncs)
|
include (CheckFuncs)
|
||||||
|
Loading…
Reference in New Issue
Block a user