mirror of
https://codeberg.org/wownero/wownero-lws
synced 2026-01-10 07:35:16 -08:00
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)
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user