summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-07-16 11:46:53 -0400
committerBrad King <brad.king@kitware.com>2020-07-20 10:03:15 -0400
commit26673bf48011a48fe0ad01e97409a32c1f50143d (patch)
tree38c4a14ec2adaa5ae451c1ce38afacbe0b1d7966 /configure
parentce624cfbd4fcbf5c486850ac331fa1e1dba28f8b (diff)
downloadcmake-26673bf48011a48fe0ad01e97409a32c1f50143d.tar.gz
Xcode: Explicitly specify default native architecture on macOS
When `CMAKE_OSX_ARCHITECTURES` is not specified, we add the Xcode setting `ONLY_ACTIVE_ARCH = YES` with the intention of targeting the native architecture of the host. However, the default `ARCHS` value chosen by "Xcode 12 Universal Apps" includes multiple architectures. Add an explicit `ARCHS` setting with value `$(NATIVE_ARCH_ACTUAL)` to tell Xcode to use the host's native architecture only. Fixes: #20893
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions