summaryrefslogtreecommitdiffstats
path: root/tools/test/h5repack
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-01-19 13:53:46 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-01-19 13:53:46 (GMT)
commit6bae11bb5b9adfce55f173b1fe11fefd1081ec27 (patch)
treec3e9d6e4c7ec169dc8c61ac71557f5ef1ef8a335 /tools/test/h5repack
parent82463a6a7ae6779536e1e94d1fbcb89a55c0c729 (diff)
downloadhdf5-6bae11bb5b9adfce55f173b1fe11fefd1081ec27.zip
hdf5-6bae11bb5b9adfce55f173b1fe11fefd1081ec27.tar.gz
hdf5-6bae11bb5b9adfce55f173b1fe11fefd1081ec27.tar.bz2
Improved CMake options for tests
Diffstat (limited to 'tools/test/h5repack')
-rw-r--r--tools/test/h5repack/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/test/h5repack/CMakeLists.txt b/tools/test/h5repack/CMakeLists.txt
index f81ce4f..5722354 100644
--- a/tools/test/h5repack/CMakeLists.txt
+++ b/tools/test/h5repack/CMakeLists.txt
@@ -98,4 +98,6 @@ if (HDF5_BUILD_GENERATORS AND NOT ONLY_SHARED_LIBS)
#add_test (NAME h5repackgentest COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:h5repackgentest>)
endif ()
-include (CMakeTests.cmake)
+if (HDF5_TEST_TOOLS AND HDF5_TEST_SERIAL)
+ include (CMakeTests.cmake)
+endif ()