mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
Guard find_package and include_directories for FUSE on OpenBSD, because it ships by default.
This commit is contained in:
@@ -28,8 +28,10 @@ include_directories(${CURL_INCLUDE_DIRS})
|
|||||||
|
|
||||||
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/3rdparty/cmake)
|
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/3rdparty/cmake)
|
||||||
|
|
||||||
find_package(FUSE 2.9 REQUIRED)
|
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
include_directories(${FUSE_INCLUDE_DIRS})
|
find_package(FUSE 2.9 REQUIRED)
|
||||||
|
include_directories(${FUSE_INCLUDE_DIRS})
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package(Jansson 2.5 REQUIRED)
|
find_package(Jansson 2.5 REQUIRED)
|
||||||
include_directories(${JANSSON_INCLUDE_DIRS})
|
include_directories(${JANSSON_INCLUDE_DIRS})
|
||||||
|
|||||||
Reference in New Issue
Block a user