Link against rt
Some checks failed
CodeQL / Analyze (push) Waiting to run
Build branch / build-all (push) Failing after 21s

This commit is contained in:
smallmodel 2025-01-11 23:50:33 +01:00 committed by GitHub
parent 752588ffcd
commit f22ea9eb21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)