Fix Linux build.

This commit is contained in:
XMRig 2018-10-04 20:00:18 +03:00
parent 1e22a984af
commit 0bba8849f0

View file

@ -76,7 +76,7 @@ elseif (APPLE)
set(SOURCES_OS mac/cpu_mac.c mac/memory_mac.c mac/xmrig_mac.c)
else()
set(SOURCES_OS unix/cpu_unix.c unix/memory_unix.c unix/xmrig_unix.c)
set(EXTRA_LIBS pthread)
set(EXTRA_LIBS pthread rt m)
endif()
include_directories(.)