#157 Explicitly add linking with librt, probably fix build issue with some old Linux.

This commit is contained in:
XMRig 2017-10-30 00:48:49 +03:00
parent fd029201b0
commit 6479d6bb6f

View file

@ -130,7 +130,7 @@ else()
src/Platform_unix.cpp src/Platform_unix.cpp
) )
set(EXTRA_LIBS pthread) set(EXTRA_LIBS pthread rt)
endif() endif()
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD) if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)