Fix for clang compiler

This commit is contained in:
Sebastian Messmer 2015-06-10 17:18:53 +02:00
parent abf0f68432
commit c4f55f081a

View File

@ -5,7 +5,9 @@ ADD_BII_TARGETS()
ADD_BOOST(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()