mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-08-11 20:09:04 +08:00
parent
eee8bf5d86
commit
9648d72f4d
@ -653,6 +653,9 @@ if (EMSCRIPTEN AND ENABLE_JS_GLUE)
|
|||||||
else ()
|
else ()
|
||||||
require_compiler_flag("-s ELIMINATE_DUPLICATE_FUNCTIONS=1" YES)
|
require_compiler_flag("-s ELIMINATE_DUPLICATE_FUNCTIONS=1" YES)
|
||||||
endif ()
|
endif ()
|
||||||
|
if (IE_COMPATIBLE)
|
||||||
|
require_compiler_flag("-s LEGACY_VM_SUPPORT=1" YES)
|
||||||
|
endif ()
|
||||||
|
|
||||||
if (CMAKE_BUILD_TYPE STREQUAL "")
|
if (CMAKE_BUILD_TYPE STREQUAL "")
|
||||||
# Force -O3 when no build type is specified.
|
# Force -O3 when no build type is specified.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user