commit | 26673bf48011a48fe0ad01e97409a32c1f50143d | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Thu Jul 16 11:46:53 2020 -0400 |
committer | Brad King <brad.king@kitware.com> | Mon Jul 20 10:03:15 2020 -0400 |
tree | 38c4a14ec2adaa5ae451c1ce38afacbe0b1d7966 | |
parent | ce624cfbd4fcbf5c486850ac331fa1e1dba28f8b [diff] |
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