From eea06158911bb530156ff6e54ec26dcd471e977e Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Thu, 7 Feb 2019 12:23:04 +0300 Subject: [PATCH] rt library for clock_gettime --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cbbf312..c81c55b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,7 @@ if (ASAN) endif() set(CMAKE_C_STANDARD 90) +list(APPEND CMAKE_REQUIRED_LIBRARIES rt) include (TestBigEndian) TEST_BIG_ENDIAN(IS_BIG_ENDIAN) -- 2.39.5