Skip to content

Commit f6b7fba

Browse files
committed
Remove incompatible ubsan option.
1 parent 673b3f4 commit f6b7fba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmake/CompileOptions.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ if(WIN32 AND MSVC)
337337
# Sanitizers
338338
if(OPTION_BUILD_THREAD_SANITIZER AND (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo"))
339339
add_compile_options(/fsanitize=thread)
340-
# add_compile_options(/fsanitize=undefined)
341340
add_link_options(/INCREMENTAL:NO)
342341
elseif(OPTION_BUILD_ADDRESS_SANITIZER AND (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo"))
343342
add_compile_options(/fsanitize=address)

0 commit comments

Comments
 (0)