File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ add_definitions(-DWASM_ENABLE_CUSTOM_NAME_SECTION=1)
4444add_definitions (-DWASM_ENABLE_DUMP_CALL_STACK=1)
4545add_definitions (-DWASM_ENABLE_PERF_PROFILING=1)
4646add_definitions (-DWASM_ENABLE_LOAD_CUSTOM_SECTION=1)
47+ add_definitions (-DWASM_ENABLE_LIB_WASI_THREADS=1)
4748
4849if (WAMR_BUILD_LLVM_LEGACY_PM EQUAL 1)
4950 add_definitions (-DWASM_ENABLE_LLVM_LEGACY_PM=1)
@@ -204,6 +205,7 @@ if (NOT MINGW)
204205 endif ()
205206endif ()
206207include (${IWASM_DIR} /libraries/lib-pthread/lib_pthread.cmake)
208+ include (${IWASM_DIR} /libraries/lib-wasi-threads/lib_wasi_threads.cmake)
207209include (${IWASM_DIR} /common/iwasm_common.cmake)
208210include (${IWASM_DIR} /interpreter/iwasm_interp.cmake)
209211include (${IWASM_DIR} /aot/iwasm_aot.cmake)
@@ -258,6 +260,7 @@ add_library (vmlib
258260 ${LIBC_BUILTIN_SOURCE}
259261 ${LIBC_WASI_SOURCE}
260262 ${LIB_PTHREAD_SOURCE}
263+ ${LIB_WASI_THREADS_SOURCE}
261264 ${IWASM_COMMON_SOURCE}
262265 ${IWASM_INTERP_SOURCE}
263266 ${IWASM_AOT_SOURCE} )
You can’t perform that action at this time.
0 commit comments