1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-23 05:19:16 -05:00

Added idle time detection for macOS.

This commit is contained in:
XMRig
2021-02-20 13:18:31 +07:00
parent ee341118ce
commit b49fb27e84
3 changed files with 13 additions and 5 deletions

View File

@@ -27,8 +27,6 @@ if (WITH_DMI)
list(APPEND SOURCES src/hw/dmi/DmiReader_unix.cpp)
elseif(XMRIG_OS_MACOS)
list(APPEND SOURCES src/hw/dmi/DmiReader_mac.cpp)
find_library(CORESERVICES_LIBRARY CoreServices)
list(APPEND EXTRA_LIBS ${CORESERVICES_LIBRARY})
endif()
else()
remove_definitions(/DXMRIG_FEATURE_DMI)