Remove check for librt. librt doesn't exist many places anymore and we don't actually use clock_gettime

openbsd
Isaac Connor 2023-04-18 18:28:25 -04:00
parent e2a99052d2
commit 614aa71ef1
1 changed files with 0 additions and 10 deletions

View File

@ -299,16 +299,6 @@ check_type_size("ucontext_t" HAVE_UCONTEXT_T)
# *** LIBRARY CHECKS ***
if(UNIX)
include(CheckLibraryExists)
CHECK_LIBRARY_EXISTS(rt clock_gettime "time.h" HAVE_CLOCK_GETTIME)
if(NOT HAVE_CLOCK_GETTIME)
message(FATAL_ERROR "clock_gettime not found")
else()
list(APPEND ZM_BIN_LIBS "-lrt")
endif()
endif()
# zlib
find_package(ZLIB)
if(ZLIB_FOUND)