summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-01-19 13:56:14 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-01-19 13:56:14 (GMT)
commit4ef9c810483c21c99768959db58cb7b6d63ad1e1 (patch)
tree2666628a2ff31b9cd0eda17b85583b50c7eb44bf /c++/examples
parentf6ec9a1343dcd75fbc56de8fdaf9ed7c05241fea (diff)
downloadhdf5-4ef9c810483c21c99768959db58cb7b6d63ad1e1.zip
hdf5-4ef9c810483c21c99768959db58cb7b6d63ad1e1.tar.gz
hdf5-4ef9c810483c21c99768959db58cb7b6d63ad1e1.tar.bz2
Added new CMake options for tests
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 ()