File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Runtimes/Core/cmake/modules Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ set(availability_platform_xros "visionOS")
4545set (availability_platform_bridgeos "bridgeOS" )
4646
4747if (NOT SwiftCore_SWIFT_AVAILABILITY_PLATFORM)
48- if (SwiftCore_SWIFT_MODULE_TRIPLE MATCHES ".*-([^-]+)-simulator$" )
48+ if (SwiftCore_MODULE_TRIPLE MATCHES ".*-([^-]+)-simulator$" )
4949 set (platform "${CMAKE_MATCH_1} " )
50- elseif (SwiftCore_SWIFT_MODULE_TRIPLE MATCHES ".*-([^-]+)$" )
50+ elseif (SwiftCore_MODULE_TRIPLE MATCHES ".*-([^-]+)$" )
5151 set (platform "${CMAKE_MATCH_1} " )
5252 else ()
53- message (ERROR "Unable to extract platform name from triple ${SwiftCore_SWIFT_MODULE_TRIPLE } " )
53+ message (ERROR "Unable to extract platform name from triple ${SwiftCore_MODULE_TRIPLE } " )
5454 endif ()
5555
5656 if (availability_platform_${platform} )
@@ -64,7 +64,7 @@ if(SwiftCore_VARIANT_MODULE_TRIPLE)
6464 if (SwiftCore_VARIANT_MODULE_TRIPLE MATCHES ".*-([^-]+)$" )
6565 set (platform "${CMAKE_MATCH_1} " )
6666 else ()
67- message (ERROR "Unable to extract platform name from triple ${SwiftCore_SWIFT_MODULE_TRIPLE } " )
67+ message (ERROR "Unable to extract platform name from triple ${SwiftCore_VARIANT_MODULE_TRIPLE } " )
6868 endif ()
6969
7070 if (availability_platform_${platform} )
You can’t perform that action at this time.
0 commit comments