forked from such-gitea/wownero-lws
fix(cmake): fix Mac error 'undefined symbols for architecture'
This commit is contained in:
committed by
Leee *!* Clagett
parent
89bac4548b
commit
0435e7a2d3
@@ -251,6 +251,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
|
||||
|
||||
Reference in New Issue
Block a user