Fix iwasm build error when WAMR_BUILD_WASI_NN enabled (#4138)

This commit is contained in:
liang.he 2025-03-14 13:38:17 +08:00 committed by GitHub
commit e27e5380c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,7 @@ if(WAMR_BUILD_WASI_NN_TFLITE EQUAL 1)
target_link_libraries(
wasi_nn_tflite
PUBLIC
libiwasm
vmlib
tensorflow-lite
)
@ -71,7 +71,7 @@ if(WAMR_BUILD_WASI_NN_OPENVINO EQUAL 1)
target_link_libraries(
wasi_nn_openvino
PUBLIC
libiwasm
vmlib
openvino::runtime
openvino::runtime::c
)
@ -100,7 +100,7 @@ if(WAMR_BUILD_WASI_NN_LLAMACPP EQUAL 1)
target_link_libraries(
wasi_nn_llamacpp
PUBLIC
libiwasm
vmlib
cjson
common
ggml