Skip to content

Commit

Permalink
Merge pull request #128 from ddennedy/patch-1
Browse files Browse the repository at this point in the history
respect CMAKE_OSX_ARCHITECTURES
  • Loading branch information
georgmartius authored Jan 11, 2024
2 parents d6ed6d2 + b68f079 commit c8caf90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ if(NOT WIN32)
add_definitions(-fPIC)
endif()

if(APPLE)
if(APPLE AND NOT CMAKE_OSX_ARCHITECTURES AND NOT SSE2_FOUND)
add_definitions(-march=armv8-a+fp+simd+crypto+crc)
endif(APPLE)
endif()

### ORC is not used in any active code at the moment ###
# I tried it with 0.4.14
Expand Down

0 comments on commit c8caf90

Please sign in to comment.