diff options
author | Vladislav Vaintroub <vvaintroub@linux-rbsx> | 2009-12-10 04:09:32 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@linux-rbsx> | 2009-12-10 04:09:32 +0100 |
commit | 7c3ca3e682438a53fb4919fe4d1f69de80ca5d51 (patch) | |
tree | c96ab325db810eb3834507675a47142d56e0800a /configure.cmake | |
parent | ef4685eccf5b93c6d6df16421dcd9d7e1705e115 (diff) | |
download | mariadb-git-7c3ca3e682438a53fb4919fe4d1f69de80ca5d51.tar.gz |
Check for clock_gettime in librt
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index d1fc590a0cb..84a1b5f1dfb 100644 --- a/configure.cmake +++ b/configure.cmake @@ -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 |