DragonflyBSD compilation fixes

This commit is contained in:
SChernykh 2022-12-17 12:14:28 +01:00
parent 2ea37cdf37
commit 7d4d48e83b
5 changed files with 38 additions and 17 deletions

View file

@ -15,7 +15,7 @@ else()
set(XMRIG_OS_ANDROID ON)
elseif(CMAKE_SYSTEM_NAME MATCHES "Linux")
set(XMRIG_OS_LINUX ON)
elseif(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
elseif(CMAKE_SYSTEM_NAME STREQUAL FreeBSD OR CMAKE_SYSTEM_NAME STREQUAL DragonFly)
set(XMRIG_OS_FREEBSD ON)
endif()
endif()