Skip to content

Commit 6c4e5df

Browse files
authored
Review cmake messages (#13397)
1 parent 8597ca1 commit 6c4e5df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/sanitizer_options.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ option(WITH_ASAN "Build with Address Sanitizer" OFF)
2020
# - it requires all dependencies to be compiled with msan enabled (see
2121
# https://github.com/google/sanitizers/wiki/MemorySanitizerLibcxxHowTo);
2222
# - AppleClang doesn't support it.
23-
option(WITH_TSAN "Build with Thread Sanitizer (mutually exculsive with other sanitizers)" OFF)
23+
option(WITH_TSAN "Build with Thread Sanitizer (mutually exclusive with other sanitizers)" OFF)
2424
option(WITH_UBSAN "Build with Undefined Behavior sanitizer" OFF)
2525

2626
macro(add_to_compile_and_link_flags flag)
@@ -38,7 +38,7 @@ if(CXX_CLANG OR CXX_GNU)
3838

3939
if(WITH_TSAN)
4040
if(WITH_ASAN OR WITH_UBSAN)
41-
message(FATAL_ERROR "Cannot combine TSan with other santizers")
41+
message(FATAL_ERROR "Cannot combine TSan with other sanitizers")
4242
endif()
4343
add_to_compile_and_link_flags("-fsanitize=thread")
4444
endif()

0 commit comments

Comments
 (0)