mirror of
https://github.com/MariaDB/server.git
synced 2025-08-30 11:22:14 +03:00
Check for clock_gettime in librt
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user