Skip to content

Commit

Permalink
Remove universal binary option when building for AVX2, AVX on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
marella committed Sep 10, 2023
1 parent 12dc4ce commit 271c565
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 @@ -74,7 +74,7 @@ if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm" OR ${CMAKE_SYSTEM_PROCESSOR} MATCHES
endif()
else()
message(STATUS "x86 detected")
if (APPLE)
if (APPLE AND CT_INSTRUCTIONS STREQUAL "basic")
# Universal binary.
set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE)
endif()
Expand Down

0 comments on commit 271c565

Please sign in to comment.