Browse Source

Fix Linux build.

classic-dev
XMRig 6 years ago
parent
commit
0bba8849f0
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -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(.)

Loading…
Cancel
Save