From 6055a12d366f2eeb2249f1759fffdd8d7b61f8d7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 9 Oct 2025 09:31:49 -0400 Subject: [PATCH] Help: Document default architecture when CMAKE_OSX_ARCHITECTURES is not set Issue: #27293 --- Help/variable/CMAKE_OSX_ARCHITECTURES.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Help/variable/CMAKE_OSX_ARCHITECTURES.rst b/Help/variable/CMAKE_OSX_ARCHITECTURES.rst index f660df9808..3e9e4275e9 100644 --- a/Help/variable/CMAKE_OSX_ARCHITECTURES.rst +++ b/Help/variable/CMAKE_OSX_ARCHITECTURES.rst @@ -7,4 +7,8 @@ This variable is used to initialize the :prop_tgt:`OSX_ARCHITECTURES` property on each target as it is created. See that target property for additional information. +If ``CMAKE_OSX_ARCHITECTURES`` is not set, the compiler's default target +architecture is used. For compilers provided by Xcode, this is the host +machine's architecture. + .. include:: include/CMAKE_OSX_VARIABLE.rst