Guard find_package and include_directories for FUSE on OpenBSD, because it ships by default.

This commit is contained in:
Aaron Hamilton
2015-01-22 01:20:04 +00:00
parent 6b17698276
commit 33bf28cb0b

View File

@@ -28,8 +28,10 @@ include_directories(${CURL_INCLUDE_DIRS})
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/3rdparty/cmake)
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
find_package(FUSE 2.9 REQUIRED)
include_directories(${FUSE_INCLUDE_DIRS})
endif()
find_package(Jansson 2.5 REQUIRED)
include_directories(${JANSSON_INCLUDE_DIRS})