fix(shell/CMakeLists.txt): merge into a single lean.js file
This commit is contained in:
parent
45df5cffd8
commit
ba9d0a2b7f
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
if(${EMSCRIPTEN})
|
||||
add_executable(lean.js lean.cpp)
|
||||
target_link_libraries(lean.js ${ALL_LIBS} "--preload-file library")
|
||||
target_link_libraries(lean.js ${ALL_LIBS} "--embed-file library --memory-init-file 0")
|
||||
else()
|
||||
add_executable(lean lean.cpp)
|
||||
target_link_libraries(lean ${ALL_LIBS})
|
||||
|
|
Loading…
Reference in a new issue