commit | 6bcf8769809b17c4bef4d5b48b8095b629b5e4d3 | [log] [tgz] |
---|---|---|
author | Vincent Rabaud <vrabaud@google.com> | Wed Jan 23 11:12:26 2019 +0100 |
committer | Vincent Rabaud <vrabaud@google.com> | Wed Jan 23 11:12:26 2019 +0100 |
tree | 0b2e7a2f00bf752d880d779802fc86bc55daf811 | |
parent | 2b98df90cb75cfc1cf4505a59a7b25499fa10887 [diff] |
Remove BINARYEN_METHOD in wasm settings. This was removed according to https://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#debugging BUG=webp:413 Change-Id: If8f1a3f1260d34cdd2b937b286e4c57fb48ed828
diff --git a/CMakeLists.txt b/CMakeLists.txt index 499ddce..7f4750e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -556,7 +556,7 @@ target_include_directories(webp_wasm PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) set_target_properties( webp_wasm - PROPERTIES LINK_FLAGS "-s WASM=1 -s 'BINARYEN_METHOD=\"native-wasm\"' \ + PROPERTIES LINK_FLAGS "-s WASM=1 \ -s EXPORTED_FUNCTIONS='[\"_WebpToSDL\"]' -s INVOKE_RUN=0 \ -s EXTRA_EXPORTED_RUNTIME_METHODS='[\"cwrap\"]'") target_compile_definitions(webp_wasm PUBLIC EMSCRIPTEN WEBP_HAVE_SDL)