summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-03-18 16:51:00 (GMT)
committerBrad King <brad.king@kitware.com>2024-03-19 13:52:32 (GMT)
commit2149dbd379896fd1c80700fefecc2b812a267b41 (patch)
tree778a1424cd4cb100aeb6b255601b765b9c21a9d4 /Modules
parentbe642f6ed52e3633e6a173a2d39043a5f10c91eb (diff)
downloadCMake-2149dbd379896fd1c80700fefecc2b812a267b41.zip
CMake-2149dbd379896fd1c80700fefecc2b812a267b41.tar.gz
CMake-2149dbd379896fd1c80700fefecc2b812a267b41.tar.bz2
generate_apple_architecture_selection_file: Document $(ARCHS_STANDARD) support
Also add a test case. Fixes: #25780
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CMakePackageConfigHelpers.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/CMakePackageConfigHelpers.cmake b/Modules/CMakePackageConfigHelpers.cmake
index 59d604a..0c04608 100644
--- a/Modules/CMakePackageConfigHelpers.cmake
+++ b/Modules/CMakePackageConfigHelpers.cmake
@@ -304,6 +304,10 @@ Generating an Apple Platform Selection File
``UNIVERSAL_ARCHITECTURES <arch>...``
Architectures provided by the ``UNIVERSAL_INCLUDE_FILE``.
+ The list may include ``$(ARCHS_STANDARD)`` to support consumption using
+ the :generator:`Xcode` generator, but the architectures should always
+ be listed individually too.
+
``UNIVERSAL_INCLUDE_FILE <file>``
A file to load when :variable:`CMAKE_OSX_ARCHITECTURES` contains
a (non-strict) subset of the ``UNIVERSAL_ARCHITECTURES`` and