linking against thread lib
This commit is contained in:
1 parent
68fe923a01
commit
9eec75df26
2 files changed
+5
-5
No files matched your search
@@ -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
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user