diff options
author | Brad King <brad.king@kitware.com> | 2023-12-18 19:12:17 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-12-18 19:28:34 (GMT) |
commit | 3b9586671c54622db43dbce01d56c5f1d64a8ca0 (patch) | |
tree | 747e50afb3948cc2271680a4af9985ec7c169831 /Modules/Internal/PlatformSelectionFile.cmake.in | |
parent | edb10c53256a4c308548af298eafc9ddf90b3bda (diff) | |
download | CMake-3b9586671c54622db43dbce01d56c5f1d64a8ca0.zip CMake-3b9586671c54622db43dbce01d56c5f1d64a8ca0.tar.gz CMake-3b9586671c54622db43dbce01d56c5f1d64a8ca0.tar.bz2 |
CMakePackageConfigHelpers: Clarify Apple platform selection template name
The template added by commit 37bc3400cd (CMakePackageConfigHelpers: Add
generate_apple_platform_selection_file(), 2023-11-03) is specific to
Apple platforms. Give it an Apple-specific name.
Diffstat (limited to 'Modules/Internal/PlatformSelectionFile.cmake.in')
-rw-r--r-- | Modules/Internal/PlatformSelectionFile.cmake.in | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Modules/Internal/PlatformSelectionFile.cmake.in b/Modules/Internal/PlatformSelectionFile.cmake.in deleted file mode 100644 index 493d650..0000000 --- a/Modules/Internal/PlatformSelectionFile.cmake.in +++ /dev/null @@ -1,24 +0,0 @@ -@PACKAGE_INIT@ - -string(TOLOWER "${CMAKE_OSX_SYSROOT}" _CMAKE_OSX_SYSROOT_LOWER) -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 "(^|/)appletvsimulator") - @_branch_TVOS_SIMULATOR_CONFIG_FILE@ -elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)appletvos") - @_branch_TVOS_CONFIG_FILE@ -elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)watchsimulator") - @_branch_WATCHOS_SIMULATOR_CONFIG_FILE@ -elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)watchos") - @_branch_WATCHOS_CONFIG_FILE@ -elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)xrsimulator") - @_branch_VISIONOS_SIMULATOR_CONFIG_FILE@ -elseif(_CMAKE_OSX_SYSROOT_LOWER MATCHES "(^|/)xros") - @_branch_VISIONOS_CONFIG_FILE@ -elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") - @_branch_MACOS_CONFIG_FILE@ -else() - message(FATAL_ERROR "Platform not supported") -endif() |