mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 02:47:37 +02:00
Check for clock_gettime in librt
This commit is contained in:
parent
ef4685eccf
commit
7c3ca3e682
1 changed files with 3 additions and 0 deletions
|
|
@ -279,6 +279,9 @@ IF(UNIX)
|
|||
MY_SEARCH_LIBS(setsockopt socket LIBSOCKET)
|
||||
MY_SEARCH_LIBS(dlopen dl LIBDL)
|
||||
MY_SEARCH_LIBS(sched_yield rt LIBRT)
|
||||
IF(NOT LIBRT)
|
||||
MY_SEARCH_LIBS(clock_gettime rt LIBRT)
|
||||
ENDIF()
|
||||
FIND_PACKAGE(Threads)
|
||||
|
||||
SET(CMAKE_REQUIRED_LIBRARIES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue