Fix for clang compiler

This commit is contained in:
Sebastian Messmer 2015-06-10 17:19:39 +02:00
parent 038efb95ec
commit 33a20223cd

View File

@ -13,6 +13,14 @@ TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE fuse)
ENABLE_STYLE_WARNINGS()
IF(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
IF(EXISTS "/usr/local/include/osxfuse")
TARGET_INCLUDE_DIRECTORIES(${BII_LIB_TARGET} PUBLIC /usr/local/include/osxfuse)
ELSE()
MESSAGE(FATAL_ERROR "Osxfuse not found. Please install osxfuse.")
ENDIF(EXISTS "/usr/local/include/osxfuse")
ENDIF(CMAKE_SYSTEM_NAME)
# You can safely delete lines from here...
###############################################################################