Skip to content

Commit

Permalink
[cmake] Avoid SSE2 for lastest mac-os
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasDuvinage committed Oct 22, 2024
1 parent a534c62 commit a0bc036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include(cmake/msvc-specific.cmake)

project(Tasks CXX)

if(UNIX AND NOT EMSCRIPTEN)
if(UNIX AND NOT EMSCRIPTEN AND NOT (APPLE AND CMAKE_SYSTEM_PROCESSOR MATCHES "arm"))
include(CheckCXXSourceCompiles)
check_cxx_compiler_flag("-msse2" SSE2_SUPPORTED)
if(SSE2_SUPPORTED)
Expand Down

0 comments on commit a0bc036

Please sign in to comment.