diff options
author | Pierre Joye <pierre.php@gmail.com> | 2021-08-21 14:07:41 +0700 |
---|---|---|
committer | Pierre Joye <pierre.php@gmail.com> | 2021-08-21 14:07:41 +0700 |
commit | 29e98b5e24b242c8f86af185c987d77bd3798970 (patch) | |
tree | dda3d366e4a2834415148e297cad814670f44545 | |
parent | fd75362deefa06631bcc726e402f3a118da3c2b1 (diff) | |
download | libgd-29e98b5e24b242c8f86af185c987d77bd3798970.tar.gz |
disable sanitizer for now, HEIF Leaks...
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6930360..a3832a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,9 @@ endif(BUILD_TEST) # - specify -DCMAKE_C_FLAGS=... on invocation of cmake, or # - specify CFLAGS=... on invocation of make IF(CMAKE_COMPILER_IS_GNUCC) - SET(CMAKE_C_FLAGS_DEBUG "-g -Wall -Wextra -O0 -fsanitize=address") # will be added to CMAKE_C_FLAGS when CMAKE_BUILD_TYPE is "Debug" + # Re-enable sanitize once we find a way to filter out errors in external libraries (like HEIF) + #SET(CMAKE_C_FLAGS_DEBUG "-g -Wall -Wextra -O0 -fsanitize=address") # will be added to CMAKE_C_FLAGS when CMAKE_BUILD_TYPE is "Debug" + SET(CMAKE_C_FLAGS_DEBUG "-g -Wall -Wextra -O0 ") # will be added to CMAKE_C_FLAGS when CMAKE_BUILD_TYPE is "Debug" ENDIF(CMAKE_COMPILER_IS_GNUCC) SET (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/Bin |