]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
rt library for clock_gettime
authorDmitry Belyavskiy <beldmit@gmail.com>
Thu, 7 Feb 2019 09:23:04 +0000 (12:23 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Thu, 7 Feb 2019 09:23:04 +0000 (12:23 +0300)
CMakeLists.txt

index cbbf312d49e5e487c99725a7b324ed37ca0d0e34..c81c55b8a86fa27bd0680950aaa4612ae8a9acb1 100644 (file)
@@ -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)