diff options
author | Brad King <brad.king@kitware.com> | 2023-12-15 21:33:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-12-15 21:33:22 (GMT) |
commit | 3148db4533aa085c66f9727e17c6fe2960a0281c (patch) | |
tree | bce11b5a0363bd8b007c3f6408e07ca9aa195439 /Modules | |
parent | 6ba3bb0563ca72fa6fa7bc705bdf38187e3fa485 (diff) | |
download | CMake-3148db4533aa085c66f9727e17c6fe2960a0281c.zip CMake-3148db4533aa085c66f9727e17c6fe2960a0281c.tar.gz CMake-3148db4533aa085c66f9727e17c6fe2960a0281c.tar.bz2 |
CMakePackageConfigHelpers: Fix Apple platform selection for tvOS
Fix the tvOS SDK name in commit 37bc3400cd (CMakePackageConfigHelpers:
Add generate_apple_platform_selection_file(), 2023-11-03).
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Internal/PlatformSelectionFile.cmake.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Internal/PlatformSelectionFile.cmake.in b/Modules/Internal/PlatformSelectionFile.cmake.in index 3f80f4b..493d650 100644 --- a/Modules/Internal/PlatformSelectionFile.cmake.in +++ b/Modules/Internal/PlatformSelectionFile.cmake.in @@ -5,9 +5,9 @@ if(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)iphonesimulator") @_branch_IOS_SIMULATOR_CONFIG_FILE@ elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)iphoneos") @_branch_IOS_CONFIG_FILE@ -elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)tvsimulator") +elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)appletvsimulator") @_branch_TVOS_SIMULATOR_CONFIG_FILE@ -elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)tvos") +elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)appletvos") @_branch_TVOS_CONFIG_FILE@ elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)watchsimulator") @_branch_WATCHOS_SIMULATOR_CONFIG_FILE@ |