#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
)
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
set(EXTRA_LIBS kvm)
else()
set(EXTRA_LIBS pthread rt dl)
endif()
if (CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
set(EXTRA_LIBS ${EXTRA_LIBS} kvm)
endif()
endif()
if (CMAKE_SYSTEM_NAME MATCHES "Linux")