#839 Fixed FreeBSD compile.

This commit is contained in:
XMRig
2018-10-24 09:55:40 +07:00
parent a2e384df58
commit acd042c234

View File

@ -155,11 +155,11 @@ else()
src/Mem_unix.cpp src/Mem_unix.cpp
) )
set(EXTRA_LIBS pthread rt dl) if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
endif() set(EXTRA_LIBS kvm)
else()
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD) set(EXTRA_LIBS pthread rt dl)
set(EXTRA_LIBS ${EXTRA_LIBS} kvm) endif()
endif() endif()
if (CMAKE_SYSTEM_NAME MATCHES "Linux") if (CMAKE_SYSTEM_NAME MATCHES "Linux")