cmake(bugfix):fix WASM install bin do not define error

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
xuxin19 2024-12-10 19:45:02 +08:00 committed by Xiang Xiao
parent fb367c9792
commit aa7c63bfe1

View file

@ -330,11 +330,13 @@ function(wasm_add_application)
set(APP_INSTALL_NAME ${APP_NAME}.xip)
endif()
endif()
else()
endif()
if(NOT APP_INSTALL_BIN)
set(APP_INSTALL_BIN ${APP_NAME}.wasm)
if(NOT APP_INSTALL_NAME)
set(APP_INSTALL_NAME ${APP_NAME}.wasm)
endif()
endif()
if(NOT APP_INSTALL_NAME)
set(APP_INSTALL_NAME ${APP_NAME}.wasm)
endif()
# install WASM BIN
add_custom_target(