summaryrefslogtreecommitdiffstats
path: root/config.tests
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests')
-rw-r--r--config.tests/arch/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.tests/arch/CMakeLists.txt b/config.tests/arch/CMakeLists.txt
index 2e11f20674..9ef6e37b3b 100644
--- a/config.tests/arch/CMakeLists.txt
+++ b/config.tests/arch/CMakeLists.txt
@@ -4,3 +4,7 @@ project(arch LANGUAGES CXX)
add_executable(architecture_test)
set_property(TARGET architecture_test PROPERTY MACOSX_BUNDLE FALSE)
target_sources(architecture_test PRIVATE arch.cpp)
+
+if(EMSCRIPTEN)
+ target_compile_options(architecture_test PRIVATE -O2 -msimd128 -msse -msse2)
+endif()