diff --git a/CMakeLists.txt b/CMakeLists.txt index 159f2a9..d1f5173 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -205,6 +205,11 @@ foreach (LIB ${MONERO_LIBRARIES}) unset(LIB_PATH CACHE) endforeach() +if(APPLE) + find_library(IOKIT_LIBRARY IOKit) + list(APPEND IMPORTED_MONERO_LIBRARIES ${IOKIT_LIBRARY}) +endif() + add_library(monero::libraries INTERFACE IMPORTED) set_property(TARGET monero::libraries PROPERTY INTERFACE_INCLUDE_DIRECTORIES