Skip to content

Commit

Permalink
Default build arch to CMAKE_SYSTEM_PROCESSOR in macos scheme for Open…
Browse files Browse the repository at this point in the history
…SSL, if not specified (#551)
  • Loading branch information
TolonUK committed Apr 19, 2022
1 parent 41e9985 commit afbeade
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ set(configure_command "./Configure")
set(configure_architectures @CMAKE_OSX_ARCHITECTURES@)

if(NOT configure_architectures)
hunter_status_debug("Using default macOS architecture: x86_64")
set(configure_architectures "x86_64")
hunter_status_debug("Using CMAKE_SYSTEM_PROCESSOR to set default macOS architecture to: @CMAKE_SYSTEM_PROCESSOR@")
set(configure_architectures "@CMAKE_SYSTEM_PROCESSOR@")
endif()

# OpenSSL appends the version number differently by version
Expand Down

0 comments on commit afbeade

Please sign in to comment.