Update CMakeLists.txt

This commit is contained in:
Johannes Pohl 2024-06-07 12:03:16 +02:00 committed by badaix
parent 8a7cb9147a
commit e44dd9fa3f

View file

@ -64,7 +64,7 @@ else()
endif()
if(ASAN)
add_compile_options(-fsanitize=address)
add_compile_options(-fsanitize=address -Wno-error=maybe-uninitialized)
add_link_options(-fsanitize=address)
endif()