mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
cmake(bugfix):fix WASM install bin do not define error
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
parent
fb367c9792
commit
aa7c63bfe1
1 changed files with 6 additions and 4 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue