From 935f182bb30a94cc0e259565ef1d0d0e13bee1a5 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Tue, 27 Aug 2019 10:48:11 -0700 Subject: [PATCH] draco js: Silence binyaren warning ELIMINATE_DUPLICATE_FUNCTIONS=1 is no longer required: it is now a default. --- CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7948cbf..67219e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -674,8 +674,6 @@ if(EMSCRIPTEN AND ENABLE_JS_GLUE) require_compiler_flag("-s PRECISE_F32=1" YES) if(ENABLE_WASM) require_compiler_flag("-s WASM=1" YES) - else() - require_compiler_flag("-s ELIMINATE_DUPLICATE_FUNCTIONS=1" YES) endif() if(IE_COMPATIBLE) require_compiler_flag("-s LEGACY_VM_SUPPORT=1" YES)