Added add_definitions(-D_FILE_OFFSET_BITS=64)

This commit is contained in:
Armin Novak 2021-01-18 08:39:53 +01:00 committed by akallabeth
parent b972d70a9e
commit 72d9b7f7f5
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,6 @@ set(FUSE_FEATURE_TYPE "RECOMMENDED")
set(FUSE_FEATURE_PURPOSE "Remote to local file copy")
set(FUSE_FEATURE_DESCRIPTION "use -DWITH_FUSE2 or -DWITH_FUSE3 to specify fuse version")
find_feature(XShm ${XSHM_FEATURE_TYPE} ${XSHM_FEATURE_PURPOSE} ${XSHM_FEATURE_DESCRIPTION})
find_feature(Xinerama ${XINERAMA_FEATURE_TYPE} ${XINERAMA_FEATURE_PURPOSE} ${XINERAMA_FEATURE_DESCRIPTION})
find_feature(Xext ${XEXT_FEATURE_TYPE} ${XEXT_FEATURE_PURPOSE} ${XEXT_FEATURE_DESCRIPTION})
@ -234,6 +233,7 @@ endif()
if(WITH_FUSE)
add_definitions(-DWITH_FUSE)
add_definitions(-D_FILE_OFFSET_BITS=64)
add_definitions(-DFUSE_API_VERSION=${FUSE_API_VERSION})
include_directories(${FUSE_INCLUDE_DIR})
set(${MODULE_PREFIX}_LIBS ${${MODULE_PREFIX}_LIBS} ${FUSE_LIBRARIES})