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 @@ -50,26 +50,26 @@ if(NOT SwiftCore_SWIFT_AVAILABILITY_PLATFORM)
50
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_MODULE_TRIPLE} " )
53
+ message (FATAL_ERROR "Unable to extract platform name from triple ${SwiftCore_MODULE_TRIPLE} " )
54
54
endif ()
55
55
56
56
if (availability_platform_${platform} )
57
57
set (SwiftCore_SWIFT_AVAILABILITY_PLATFORM "${availability_platform_${platform} }" )
58
58
else ()
59
- message (ERROR "Unknown platform ${platform} for availability" )
59
+ message (FATAL_ERROR "Unknown platform ${platform} for availability" )
60
60
endif ()
61
61
endif ()
62
62
63
63
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_VARIANT_MODULE_TRIPLE} " )
67
+ message (FATAL_ERROR "Unable to extract platform name from triple ${SwiftCore_VARIANT_MODULE_TRIPLE} " )
68
68
endif ()
69
69
70
70
if (availability_platform_${platform} )
71
71
set (SwiftCore_VARIANT_AVAILABILITY_PLATFORM "${availability_platform_${platform} }" )
72
72
else ()
73
- message (ERROR "Unknown platform ${platform} for variant availability" )
73
+ message (FATAL_ERROR "Unknown platform ${platform} for variant availability" )
74
74
endif ()
75
75
endif ()
You can’t perform that action at this time.
0 commit comments