blob: 1ad4aec7d3292607860ae3e4cb1b802c96e3eb38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1c70b78..87e31fd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,6 +59,9 @@ if(CMAKE_BUILD_TYPE
endif()
endif()
+add_compile_options(-fsanitize=address -fno-omit-frame-pointer)
+add_link_options(-fsanitize=address -fno-omit-frame-pointer)
+
include(GNUInstallDirs)
include_directories(${linglong_SOURCE_DIR}/src)
|