Skip to content

Commit

Permalink
no avx not for EMSCRIPTEN (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke authored Aug 24, 2023
1 parent e283987 commit e0be1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ else()
add_compile_options(-fPIC)
add_compile_options(-Wall)
add_compile_options(-Wextra)
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)")
if((CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)") AND (NOT EMSCRIPTEN))
add_compile_options(-mno-avx)
endif()
endif()
Expand Down

0 comments on commit e0be1de

Please sign in to comment.