linking against thread lib
This commit is contained in:
parent
68fe923a01
commit
9eec75df26
@ -16,6 +16,6 @@ if(UNIX)
|
||||
target_link_libraries(${LIB_FSFW_NAME}
|
||||
PRIVATE
|
||||
rt
|
||||
pthread
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
)
|
||||
endif()
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user