mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
cmake: link tools against pthread imported target
This commit is contained in:
parent
ab2b7d95cf
commit
3120256dc4
1 changed files with 2 additions and 2 deletions
|
@ -29,10 +29,10 @@ endif()
|
|||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
add_executable(rmshm rmshm.c)
|
||||
target_link_libraries(rmshm PUBLIC pthread rt)
|
||||
target_link_libraries(rmshm PUBLIC Threads::Threads rt)
|
||||
|
||||
add_executable(rmsem rmsem.c)
|
||||
target_link_libraries(rmsem PUBLIC pthread rt)
|
||||
target_link_libraries(rmsem PUBLIC Threads::Threads rt)
|
||||
|
||||
list(APPEND TOOLS rmsem rmshm)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Reference in a new issue