We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1af93db commit 90e2d3cCopy full SHA for 90e2d3c
cmake/FindSanitizers.cmake
@@ -36,6 +36,8 @@ foreach (component ${Sanitizers_FIND_COMPONENTS})
36
list (APPEND ${compile_options} -fsanitize=address)
37
elseif (component STREQUAL "undefined_behavior")
38
list (APPEND ${compile_options} -fsanitize=undefined)
39
+ elseif (component STREQUAL "thread")
40
+ list (APPEND ${compile_options} -fsanitize=thread)
41
else ()
42
message (FATAL_ERROR "Unsupported sanitizer: ${component}")
43
endif ()
0 commit comments