mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +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,15 +59,14 @@ elseif(UNIX)
|
|||
target_link_libraries(syslib INTERFACE execinfo m)
|
||||
else()
|
||||
target_link_libraries(syslib INTERFACE m)
|
||||
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()
|
||||
endif()
|
||||
target_link_libraries(syslib INTERFACE stdc++)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
find_library(COCOA_LIBRARY Cocoa)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue