Skip to content

Commit d82adf9

Browse files
committed
runtime_lib.cmake: enable WAMR_BUILD_MODULE_INST_CONTEXT for wasi-nn
as we do for wasi (WAMR_BUILD_LIBC_WASI)
1 parent 6f684ed commit d82adf9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build-scripts/runtime_lib.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ endif ()
106106

107107
if (WAMR_BUILD_WASI_NN EQUAL 1)
108108
include (${IWASM_DIR}/libraries/wasi-nn/cmake/wasi_nn.cmake)
109+
set (WAMR_BUILD_MODULE_INST_CONTEXT 1)
109110
endif ()
110111

111112
if (WAMR_BUILD_LIB_PTHREAD EQUAL 1)

0 commit comments

Comments
 (0)