From e886b6884d13e0bc69e5706cdbe7ca03e6ff929d Mon Sep 17 00:00:00 2001 From: XMRig Date: Mon, 30 Oct 2017 00:48:49 +0300 Subject: [PATCH] #157 Explicitly add linking with librt, probably fix build issue with some old Linux. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bff3d4d719..fc34156ded 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -135,7 +135,7 @@ else() src/Platform_unix.cpp ) - set(EXTRA_LIBS pthread) + set(EXTRA_LIBS pthread rt) endif() if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)