1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-06 15:42:38 -05:00

fix macos battery detection

This commit is contained in:
Jethro Grassie
2020-08-11 17:52:26 -04:00
parent a0fe49f946
commit b78b0b5c6b
2 changed files with 5 additions and 11 deletions

View File

@@ -143,6 +143,8 @@ elseif (XMRIG_OS_APPLE)
src/App_unix.cpp
src/crypto/common/VirtualMemory_unix.cpp
)
find_library(IOKIT_LIBRARY IOKit)
set(EXTRA_LIBS ${IOKIT_LIBRARY})
else()
list(APPEND SOURCES_OS
src/App_unix.cpp