From c14817075c09368ab1ef6d29c27b873cb617297e Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 7 Jul 2020 21:45:08 +0800 Subject: [PATCH] build: fix gethrtime() function check in CMake This looks like a typo introduced by 2d8ef84760b673d90db331e077fac369665cdbbd. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 084d11fc..b41fb439 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -586,7 +586,7 @@ if(NOT MSVC) set(CMAKE_REQUIRED_LIBRARIES) check_cxx_symbol_exists(fork unistd.h HAVE_FORK) - check_cxx_symbol_exists(gethrtimei sys/time.h HAVE_GETHRTIME) + check_cxx_symbol_exists(gethrtime sys/time.h HAVE_GETHRTIME) check_cxx_symbol_exists(mkdtemp stdlib.h HAVE_MKDTEMP) check_cxx_symbol_exists(accept4 sys/socket.h HAVE_ACCEPT4) check_cxx_symbol_exists(strnlen string.h HAVE_STRNLEN)