diff --git a/CMakeLists.txt b/CMakeLists.txt index ca105fa7aa861eb920679f7db6ac37e76a98438d..63ccb1d37ceedae0fb0ef1c6c783b95c51c7977d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,7 @@ SET(CMAKE_CXX_FLAGS ${CMAKE_COMMON_FLAGS}) SET(CMAKE_C_FLAGS ${CMAKE_COMMON_FLAGS}) MESSAGE("CMAKE_CXX_FLAGS is " ${CMAKE_CXX_FLAGS}) -OPTION(ENABLE_ASAN "Enable build with address sanitizer" ON) +OPTION(ENABLE_ASAN "Enable build with address sanitizer" OFF) IF (ENABLE_ASAN) SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-omit-frame-pointer -fsanitize=address")