Added idle time detection for macOS.
This commit is contained in:
parent
ee341118ce
commit
b49fb27e84
3 changed files with 13 additions and 5 deletions
|
@ -147,8 +147,10 @@ elseif (XMRIG_OS_APPLE)
|
|||
src/App_unix.cpp
|
||||
src/crypto/common/VirtualMemory_unix.cpp
|
||||
)
|
||||
|
||||
find_library(IOKIT_LIBRARY IOKit)
|
||||
set(EXTRA_LIBS ${IOKIT_LIBRARY})
|
||||
find_library(CORESERVICES_LIBRARY CoreServices)
|
||||
set(EXTRA_LIBS ${IOKIT_LIBRARY} ${CORESERVICES_LIBRARY})
|
||||
else()
|
||||
list(APPEND SOURCES_OS
|
||||
src/App_unix.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue