From 452690a7a35837ee9ee60ef3f01efb5499da331a Mon Sep 17 00:00:00 2001 From: Valient Gough Date: Mon, 4 Nov 2013 06:41:08 +0000 Subject: [PATCH] fix build of mainline code for OSX 10.9 git-svn-id: http://encfs.googlecode.com/svn/trunk@126 db9cf616-1c43-0410-9cb8-a902689de0d6 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b218fdd..16a6a0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -53,6 +53,9 @@ include_directories (${FUSE_INCLUDE_DIR}) add_definitions (-D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=26) if (APPLE) add_definitions (-D__FreeBSD__=10) + # XXX: Fall back to stdc++, due to clang 5.0.1 header file issues + # (missing sys/endian.h, needed by standard c++ header files). + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmacosx-version-min=10.7") endif (APPLE) # Packaging config.