We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a42ae2 commit 51afd51Copy full SHA for 51afd51
src/plugins/yamlcpp/CMakeLists.txt
@@ -22,10 +22,6 @@ if (DEPENDENCY_PHASE)
22
"which do not point to an object of type `_Sp_counted_base`")
23
endif (${DISABLE_PLUGIN_ASAN})
24
25
- # Ignore warnings about container overflows on FreeBSD.
26
- if (CMAKE_SYSTEM_NAME MATCHES FreeBSD)
27
- set (ASAN_DISABLE_CONTAINER_OVERFLOW_CHECK TEST_ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0")
28
- endif (CMAKE_SYSTEM_NAME MATCHES FreeBSD)
29
endif (DEPENDENCY_PHASE)
30
31
add_plugin (yamlcpp
@@ -36,6 +32,7 @@ add_plugin (yamlcpp
36
32
TEST_README
37
33
INSTALL_TEST_DATA
38
34
TEST_REQUIRED_PLUGINS base64 directoryvalue
35
+ TEST_ENVIRONMENT "ASAN_OPTIONS=detect_container_overflow=0"
39
SOURCES yamlcpp.hpp
40
yamlcpp.cpp
41
read.hpp
0 commit comments