Merge pull request #910 from ehaupt/patch-1

FreeBSD needs pthread
This commit is contained in:
xmrig 2019-01-16 17:50:53 +07:00 committed by GitHub
commit db646d5d2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,7 +158,7 @@ else()
)
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
set(EXTRA_LIBS kvm)
set(EXTRA_LIBS kvm pthread)
else()
set(EXTRA_LIBS pthread rt dl)
endif()