summaryrefslogtreecommitdiffstats
path: root/Modules/CMakePackageConfigHelpers.cmake
diff options
context:
space:
mode:
authorRaul Metsma <raul@metsma.ee>2024-07-02 07:59:00 (GMT)
committerBrad King <brad.king@kitware.com>2024-07-03 15:15:45 (GMT)
commit2785364b7ba32de1f718e9e5fd049a039414a669 (patch)
tree4bd1c51d717e2b98aeeab14709087959aac77237 /Modules/CMakePackageConfigHelpers.cmake
parentf709e6baaf7d3a1bbbbf9f709a40a49f345ed80d (diff)
downloadCMake-2785364b7ba32de1f718e9e5fd049a039414a669.zip
CMake-2785364b7ba32de1f718e9e5fd049a039414a669.tar.gz
CMake-2785364b7ba32de1f718e9e5fd049a039414a669.tar.bz2
iOS: Add support for Mac Catalyst
Issue: #20132 Signed-off-by: Raul Metsma <raul@metsma.ee>
Diffstat (limited to 'Modules/CMakePackageConfigHelpers.cmake')
-rw-r--r--Modules/CMakePackageConfigHelpers.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/CMakePackageConfigHelpers.cmake b/Modules/CMakePackageConfigHelpers.cmake
index 7d038d4..6e74efd 100644
--- a/Modules/CMakePackageConfigHelpers.cmake
+++ b/Modules/CMakePackageConfigHelpers.cmake
@@ -219,6 +219,7 @@ Generating an Apple Platform Selection File
[MACOS_INCLUDE_FILE <file>]
[IOS_INCLUDE_FILE <file>]
[IOS_SIMULATOR_INCLUDE_FILE <file>]
+ [IOS_CATALYST_INCLUDE_FILE <file>]
[TVOS_INCLUDE_FILE <file>]
[TVOS_SIMULATOR_INCLUDE_FILE <file>]
[WATCHOS_INCLUDE_FILE <file>]
@@ -254,6 +255,11 @@ Generating an Apple Platform Selection File
``IOS_SIMULATOR_INCLUDE_FILE <file>``
File to include if the platform is iOS Simulator.
+ ``IOS_CATALYST_INCLUDE_FILE <file>``
+ .. versionadded:: 3.31
+
+ File to include if the platform is iOS Catalyst.
+
``TVOS_INCLUDE_FILE <file>``
File to include if the platform is tvOS.
@@ -507,6 +513,7 @@ function(generate_apple_platform_selection_file _output_file)
MACOS_INCLUDE_FILE
IOS_INCLUDE_FILE
IOS_SIMULATOR_INCLUDE_FILE
+ IOS_CATALYST_INCLUDE_FILE
TVOS_INCLUDE_FILE
TVOS_SIMULATOR_INCLUDE_FILE
WATCHOS_INCLUDE_FILE