mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
11868f12b2
commit
5cc224cb3e
@ -82,4 +82,12 @@ if(UNIX)
|
||||
if(PK_ENABLE_OS)
|
||||
target_link_libraries(${PROJECT_NAME} dl)
|
||||
endif()
|
||||
|
||||
# for very old linux systems
|
||||
include(CheckLibraryExists)
|
||||
check_library_exists(rt clock_gettime "" HAVE_LIBRT)
|
||||
|
||||
if(HAVE_LIBRT)
|
||||
target_link_libraries(${PROJECT_NAME} rt)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user