From 9648d72f4dfacec7fd52743c1f6aa0b027bd572f Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Wed, 26 Sep 2018 08:52:07 -0700 Subject: [PATCH] Restore IE support. Closes https://github.com/google/draco/issues/466 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 717eba53..66689f4b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -653,6 +653,9 @@ if (EMSCRIPTEN AND ENABLE_JS_GLUE) else () require_compiler_flag("-s ELIMINATE_DUPLICATE_FUNCTIONS=1" YES) endif () + if (IE_COMPATIBLE) + require_compiler_flag("-s LEGACY_VM_SUPPORT=1" YES) + endif () if (CMAKE_BUILD_TYPE STREQUAL "") # Force -O3 when no build type is specified.