fix macos battery detection

This commit is contained in:
Jethro Grassie 2020-08-11 17:52:26 -04:00
parent a0fe49f946
commit b78b0b5c6b
No known key found for this signature in database
GPG key ID: DE8ED755616565BB
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