Fix for clang compiler

This commit is contained in:
Sebastian Messmer 2015-06-10 17:18:34 +02:00
parent 48c5493780
commit b22fe6657b

View File

@ -5,7 +5,9 @@ ADD_BII_TARGETS()
ADD_BOOST(filesystem system thread)
# This is needed by boost thread
TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE rt)
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE rt)
ENDIF(CMAKE_SYSTEM_NAME)
ACTIVATE_CPP14()
ENABLE_STYLE_WARNINGS()