summaryrefslogtreecommitdiffstats
path: root/tools/test/h5stat
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 /tools/test/h5stat
parentf6ec9a1343dcd75fbc56de8fdaf9ed7c05241fea (diff)
downloadhdf5-4ef9c810483c21c99768959db58cb7b6d63ad1e1.zip
hdf5-4ef9c810483c21c99768959db58cb7b6d63ad1e1.tar.gz
hdf5-4ef9c810483c21c99768959db58cb7b6d63ad1e1.tar.bz2
Added new CMake options for tests
Diffstat (limited to 'tools/test/h5stat')
-rw-r--r--tools/test/h5stat/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/test/h5stat/CMakeLists.txt b/tools/test/h5stat/CMakeLists.txt
index 5c17fd5..0e2ee5e 100644
--- a/tools/test/h5stat/CMakeLists.txt
+++ b/tools/test/h5stat/CMakeLists.txt
@@ -14,4 +14,6 @@ if (HDF5_BUILD_GENERATORS AND NOT ONLY_SHARED_LIBS)
#add_test (NAME h5stat_gentest COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5stat_gentest>)
endif ()
-include (CMakeTests.cmake)
+if (HDF5_TEST_TOOLS AND HDF5_TEST_SERIAL)
+ include (CMakeTests.cmake)
+endif ()