mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
#157 Explicitly add linking with librt, probably fix build issue with some old Linux.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user