From 3148db4533aa085c66f9727e17c6fe2960a0281c Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 15 Dec 2023 16:33:22 -0500 Subject: 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). --- Modules/Internal/PlatformSelectionFile.cmake.in | 4 ++-- 1 file 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@ -- cgit v0.12