Skip to content

Commit 53e245a

Browse files
authored
Merge pull request #709 from apple/shahmishal/use-host-processor
Use "${CMAKE_HOST_SYSTEM_PROCESSOR}" over x86_64 if CMAKE_OSX_ARCHITE…
2 parents eb56a00 + e5709a6 commit 53e245a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

products/llbuildSwift/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ endif()
1717

1818
# Set x86_64 default if CMAKE_OSX_ARCHITECTURES is not set
1919
if(NOT DEFINED CMAKE_OSX_ARCHITECTURES OR CMAKE_OSX_ARCHITECTURES STREQUAL "")
20-
set(CMAKE_OSX_ARCHITECTURES "x86_64")
20+
set(CMAKE_OSX_ARCHITECTURES "${CMAKE_HOST_SYSTEM_PROCESSOR}")
2121
endif()
2222

2323
# TODO(compnerd) move both of these outside of the CMake into the invocation

0 commit comments

Comments
 (0)