summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-11 18:31:36 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-12-11 18:31:36 (GMT)
commita1a1cfcd22df965cf8aef2c2bce65e712494e5ac (patch)
tree0cb18304dc20f5f9817da1d73d3e8dafa191a9c8 /config
parent8f1197454277451de2d092ddaf976aca8327a44c (diff)
downloadhdf5-a1a1cfcd22df965cf8aef2c2bce65e712494e5ac.zip
hdf5-a1a1cfcd22df965cf8aef2c2bce65e712494e5ac.tar.gz
hdf5-a1a1cfcd22df965cf8aef2c2bce65e712494e5ac.tar.bz2
Fix issues when using ONLY_SHARED_LIBS
Diffstat (limited to 'config')
-rw-r--r--config/cmake/scripts/CTestScript.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cmake/scripts/CTestScript.cmake b/config/cmake/scripts/CTestScript.cmake
index 4f39e11..8425312 100644
--- a/config/cmake/scripts/CTestScript.cmake
+++ b/config/cmake/scripts/CTestScript.cmake
@@ -202,6 +202,7 @@ else ()
endif()
if (LOCAL_MEMCHECK_TEST)
if(LOCAL_USE_VALGRIND)
+ set (CTEST_MEMORYCHECK_COMMAND_OPTIONS "-v --tool=memcheck --leak-check=full --track-fds=yes --num-callers=50 --show-reachable=yes --track-origins=yes --malloc-fill=0xff --free-fill=0xfe")
find_program(CTEST_MEMORYCHECK_COMMAND NAMES valgrind)
endif()
set (CTEST_CONFIGURE_COMMAND