mirror of
https://github.com/vtnerd/monero-lws.git
synced 2024-11-16 17:27:39 +00:00
fix(cmake): fix Mac error 'undefined symbols for architecture'
This commit is contained in:
parent
89bac4548b
commit
0435e7a2d3
1 changed files with 5 additions and 0 deletions
|
@ -251,6 +251,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