mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-07 12:16:24 +00:00
Fix iwasm build error when WAMR_BUILD_WASI_NN enabled
A recent change on ./product-mini/platforms/linux/CMakeLists.txt renamed libiwasm to vmlib, but wasi-nn.cmake still wants to link libiwasm.so. Replace libiwasm with vmlib in wasi-nn.cmake to resolve iwasm build error when WAMR_BUILD_WASI_NN enabled.
This commit is contained in:
parent
48a87dc8bf
commit
dde6477fa5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user