Skip to content

Commit

Permalink
Fixes x86_64 architecture detection on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
crsib committed Feb 1, 2022
1 parent a1b91f6 commit e0380f5
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 @@ -86,7 +86,7 @@ cmake_policy( SET CMP0075 NEW )
if( APPLE )
# CMAKE_HOST_SYSTEM_PROCESSOR is empty before the project() command
execute_process(
COMMAND arch
COMMAND uname -m
OUTPUT_VARIABLE HOST_SYSTEM_PROCESSOR
OUTPUT_STRIP_TRAILING_WHITESPACE
)
Expand Down

0 comments on commit e0380f5

Please sign in to comment.