Skip to content

Commit b33d227

Browse files
etcwildecompnerd
andauthored
Update cmake/modules/AddSwift.cmake
Use `SEND_ERROR` instead of `FATAL_ERROR`. Co-authored-by: Saleem Abdulrasool <[email protected]>
1 parent a884e7f commit b33d227

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddSwift.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function(_add_host_variant_swift_sanitizer_flags target)
9898
elseif (LLVM_USE_SANITIZER STREQUAL "Leaks")
9999
# Not supported
100100
else()
101-
message(FATAL_ERROR "Unsupported value of LLVM_USE_SANITIZER: ${LLVM_USE_SANITIZER}")
101+
message(SEND_ERROR "unsupported value for LLVM_USE_SANITIZER: ${LLVM_USE_SANITIZER}")
102102
endif()
103103

104104
target_compile_options(${name} PRIVATE $<$<COMPILE_LANGUAGE:Swift>:${_Swift_SANITIZER_FLAGS}>)

0 commit comments

Comments
 (0)