mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-28 20:47:22 +00:00
samples/wasm-c-api: skip aot compilation unless necessary (#4239)
This commit is contained in:
parent
d053f5534a
commit
1996c18c4b
|
@ -129,7 +129,7 @@ if (${WAT2WASM_VERSION} VERSION_LESS 1.0.26)
|
|||
set(WAT2WASM_FLAGS "--enable-reference-types")
|
||||
endif ()
|
||||
|
||||
if(${WAMR_BUILD_AOT} EQUAL 1)
|
||||
if(${WAMR_BUILD_AOT} EQUAL 1 AND ${WAMR_BUILD_INTERP} EQUAL 0)
|
||||
## locate wamrc
|
||||
find_program(WAMRC
|
||||
wamrc
|
||||
|
|
Loading…
Reference in New Issue
Block a user