linking against thread lib

This commit is contained in:
muellerr committed 2020-12-25 01:49:44 +01:00
1 parent 68fe923a01
commit 9eec75df26
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -16,6 +16,6 @@ if(UNIX)
target_link_libraries(${LIB_FSFW_NAME}
PRIVATE
rt
pthread
${CMAKE_THREAD_LIBS_INIT}
)
endif()
+4 -4
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
)