mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 13:47:58 +03:00
Don't link against rt for musl and *BSD platforms
This commit is contained in:
parent
38d9f98221
commit
833408c663
1 changed files with 4 additions and 5 deletions
|
@ -59,14 +59,13 @@ elseif(UNIX)
|
|||
target_link_libraries(syslib INTERFACE execinfo m)
|
||||
else()
|
||||
target_link_libraries(syslib INTERFACE m)
|
||||
if (NOT APPLE)
|
||||
# For when using GLIBC versions older than 2.34
|
||||
target_link_libraries(syslib INTERFACE rt)
|
||||
endif()
|
||||
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