diff options
author | Brad King <brad.king@kitware.com> | 2024-03-18 16:51:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-19 13:52:32 (GMT) |
commit | 2149dbd379896fd1c80700fefecc2b812a267b41 (patch) | |
tree | 778a1424cd4cb100aeb6b255601b765b9c21a9d4 /Modules | |
parent | be642f6ed52e3633e6a173a2d39043a5f10c91eb (diff) | |
download | CMake-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.cmake | 4 |
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 |