linking against thread lib

This commit is contained in:
Robin Müller 2020-12-25 01:49:44 +01:00
parent 68fe923a01
commit 9eec75df26
2 changed files with 5 additions and 5 deletions

View File

@ -16,6 +16,6 @@ if(UNIX)
target_link_libraries(${LIB_FSFW_NAME}
PRIVATE
rt
pthread
${CMAKE_THREAD_LIBS_INIT}
)
endif()

View File

@ -18,8 +18,8 @@ target_sources(${LIB_FSFW_NAME}
Timer.cpp
)
target_link_libraries(${LIB_FSFW_NAME}
PRIVATE
rt
pthread
target_link_libraries(${LIB_FSFW_NAME} PRIVATE
${CMAKE_THREAD_LIBS_INIT}
rt
)