summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-01-20 19:52:41 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-01-20 19:52:41 (GMT)
commit80161447bb08638ef4264208600ba1e0b0fcb57a (patch)
treee0f8f65a67d5cfa2310c4a664948f3b4e0d32a24 /c++/examples
parent77ac7cb908055dd6f5a015207a126c73536685d5 (diff)
downloadhdf5-80161447bb08638ef4264208600ba1e0b0fcb57a.zip
hdf5-80161447bb08638ef4264208600ba1e0b0fcb57a.tar.gz
hdf5-80161447bb08638ef4264208600ba1e0b0fcb57a.tar.bz2
Merfge changes to CMake test options and add sanitizers
Diffstat (limited to 'c++/examples')
-rw-r--r--c++/examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/examples/CMakeLists.txt b/c++/examples/CMakeLists.txt
index 58d85c1..89d62f1 100644
--- a/c++/examples/CMakeLists.txt
+++ b/c++/examples/CMakeLists.txt
@@ -68,6 +68,6 @@ foreach (example ${tutr_examples})
set_target_properties (cpp_ex_${example} PROPERTIES FOLDER examples/cpp)
endforeach ()
-if (BUILD_TESTING)
+if (BUILD_TESTING AND HDF5_TEST_CPP AND HDF5_TEST_EXAMPLES AND HDF5_TEST_SERIAL)
include (CMakeTests.cmake)
endif ()