mirror of
https://github.com/vtnerd/monero-lws.git
synced 2025-01-19 17:14:32 +00:00
fix(cmake): fix Mac error 'undefined symbols for architecture'
This commit is contained in:
parent
ab83c662f0
commit
8176925476
1 changed files with 5 additions and 0 deletions
|
@ -205,6 +205,11 @@ foreach (LIB ${MONERO_LIBRARIES})
|
||||||
unset(LIB_PATH CACHE)
|
unset(LIB_PATH CACHE)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
if(APPLE)
|
||||||
|
find_library(IOKIT_LIBRARY IOKit)
|
||||||
|
list(APPEND IMPORTED_MONERO_LIBRARIES ${IOKIT_LIBRARY})
|
||||||
|
endif()
|
||||||
|
|
||||||
add_library(monero::libraries INTERFACE IMPORTED)
|
add_library(monero::libraries INTERFACE IMPORTED)
|
||||||
set_property(TARGET monero::libraries PROPERTY
|
set_property(TARGET monero::libraries PROPERTY
|
||||||
INTERFACE_INCLUDE_DIRECTORIES
|
INTERFACE_INCLUDE_DIRECTORIES
|
||||||
|
|
Loading…
Reference in a new issue