[client,common] fixed fuse linking

This commit is contained in:
Armin Novak 2023-03-01 09:18:08 +01:00 committed by akallabeth
parent 7722961fcc
commit a5fb3ad40a

View File

@ -57,14 +57,14 @@ if(WITH_FUSE)
include_directories(${FUSE3_INCLUDE_DIRS})
add_definitions(-DWITH_FUSE3)
list(APPEND ${MODULE_PREFIX}_LIBS ${FUSE3_LIBRARIES})
list(APPEND LIBS ${FUSE3_LIBRARIES})
else()
pkg_check_modules(FUSE2 REQUIRED fuse)
message("[FUSE2] using ${FUSE2_LIBRARIES}")
add_definitions(-DWITH_FUSE2)
include_directories(${FUSE2_INCLUDE_DIRS})
list(APPEND ${MODULE_PREFIX}_LIBS ${FUSE2_LIBRARIES})
list(APPEND LIBS ${FUSE2_LIBRARIES})
endif()
add_definitions(-D_FILE_OFFSET_BITS=64)