From 31426fce355ce155bdca1a4f60eedea164c3de71 Mon Sep 17 00:00:00 2001 From: Cutcoin Date: Tue, 22 Jan 2019 11:27:00 -0800 Subject: [PATCH] fixed issue with deprecated emscripten parameter BINARYEN_METHOD --- CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0263e22..a9f6cb2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -160,7 +160,6 @@ set( -Os \ --separate-asm \ -s AGGRESSIVE_VARIABLE_ELIMINATION=1 \ --s \"BINARYEN_METHOD='asmjs'\" \ -s ALLOW_MEMORY_GROWTH=0 \ --memory-init-file 0 \ " @@ -174,7 +173,6 @@ set( "${EMCC_LINKER_FLAGS___BASE} \ -s WASM=1 \ -Oz \ --s \"BINARYEN_METHOD='native-wasm'\" \ -s ALLOW_MEMORY_GROWTH=1 \ --post-js ${CMAKE_CURRENT_LIST_DIR}/src/module-post.js \ " @@ -224,4 +222,4 @@ target_link_libraries( boost_thread # ${log-lib} -) \ No newline at end of file +)