Fix boost thread dependency

This commit is contained in:
Sebastian Meßmer 2015-10-16 03:12:27 +02:00
parent a158a30696
commit e60c3200cd

View File

@ -7,6 +7,11 @@ ACTIVATE_CPP14()
ADD_BOOST(filesystem system thread)
# This is needed by boost thread
IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
TARGET_LINK_LIBRARIES(${BII_BLOCK_TARGET} INTERFACE rt)
ENDIF(CMAKE_SYSTEM_NAME)
ENABLE_STYLE_WARNINGS()
# You can safely delete lines from here...