fix macos battery detection
This commit is contained in:
parent
a0fe49f946
commit
b78b0b5c6b
2 changed files with 5 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue