Skip to content

Commit c8caf90

Browse files
authored
Merge pull request #128 from ddennedy/patch-1
respect CMAKE_OSX_ARCHITECTURES
2 parents d6ed6d2 + b68f079 commit c8caf90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ if(NOT WIN32)
3232
add_definitions(-fPIC)
3333
endif()
3434

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

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

0 commit comments

Comments
 (0)