Implement pause-on-active for Linux

This commit is contained in:
Alik Aslanyan 2021-03-31 16:49:26 +04:00
parent 69590f9777
commit 062f3f6d2d
No known key found for this signature in database
GPG key ID: 7FE6FD5D5BC4CCF6
2 changed files with 60 additions and 1 deletions

View file

@ -166,6 +166,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()