fix(shell/CMakeLists.txt): merge into a single lean.js file

This commit is contained in:
Soonho Kong 2014-10-21 16:18:12 -04:00
parent 45df5cffd8
commit ba9d0a2b7f

View file

@ -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})