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")
45
45
set (availability_platform_bridgeos "bridgeOS" )
46
46
47
47
if (NOT SwiftCore_SWIFT_AVAILABILITY_PLATFORM )
48
- if (SwiftCore_SWIFT_MODULE_TRIPLE MATCHES ".*-([^-]+)-simulator$" )
48
+ if (SwiftCore_MODULE_TRIPLE MATCHES ".*-([^-]+)-simulator$" )
49
49
set (platform "${CMAKE_MATCH_1} " )
50
- elseif (SwiftCore_SWIFT_MODULE_TRIPLE MATCHES ".*-([^-]+)$" )
50
+ elseif (SwiftCore_MODULE_TRIPLE MATCHES ".*-([^-]+)$" )
51
51
set (platform "${CMAKE_MATCH_1} " )
52
52
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 } " )
54
54
endif ()
55
55
56
56
if (availability_platform_${platform} )
@@ -64,7 +64,7 @@ if(SwiftCore_VARIANT_MODULE_TRIPLE)
64
64
if (SwiftCore_VARIANT_MODULE_TRIPLE MATCHES ".*-([^-]+)$" )
65
65
set (platform "${CMAKE_MATCH_1} " )
66
66
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 } " )
68
68
endif ()
69
69
70
70
if (availability_platform_${platform} )
You can’t perform that action at this time.
0 commit comments