This commit is contained in:
Alik Aslanyan 2025-06-23 22:42:17 +02:00 committed by GitHub
commit c0925b69ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 60 additions and 1 deletions

View file

@ -187,6 +187,13 @@ else()
)
set(EXTRA_LIBS pthread rt dl)
find_package(X11)
if(X11_FOUND)
include_directories(${X11_INCLUDE_DIR})
add_definitions(-DXMRIG_X11_FOUND)
endif()
elseif (XMRIG_OS_FREEBSD)
set(EXTRA_LIBS kvm pthread)
endif()