Skip to content

Commit

Permalink
COMP: Do not set instruction optimizations with WASI-SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
thewtex committed Mar 10, 2022
1 parent 81210a5 commit 66b1ef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMake/ITKSetStandardCompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function(check_compiler_optimization_flags c_optimization_flags_var cxx_optimiza
list(APPEND InstructionSetOptimizationFlags
/arch:SSE /arch:SSE2)
endif()
elseif(NOT EMSCRIPTEN)
elseif(NOT EMSCRIPTEN OR WASI)
if (${CMAKE_C_COMPILER} MATCHES "icc.*$")
set(USING_INTEL_ICC_COMPILER TRUE)
endif()
Expand Down

0 comments on commit 66b1ef7

Please sign in to comment.