mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Link against rt
This commit is contained in:
parent
752588ffcd
commit
f22ea9eb21
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ elseif(UNIX)
|
|||
endif()
|
||||
endif()
|
||||
target_link_libraries(syslib INTERFACE stdc++)
|
||||
|
||||
if (NOT APPLE)
|
||||
# For when using GLIBC versions older than 2.34
|
||||
target_link_libraries(syslib INTERFACE rt)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue