summaryrefslogtreecommitdiffstats
path: root/c++/test
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 /c++/test
parent82463a6a7ae6779536e1e94d1fbcb89a55c0c729 (diff)
downloadhdf5-6bae11bb5b9adfce55f173b1fe11fefd1081ec27.zip
hdf5-6bae11bb5b9adfce55f173b1fe11fefd1081ec27.tar.gz
hdf5-6bae11bb5b9adfce55f173b1fe11fefd1081ec27.tar.bz2
Improved CMake options for tests
Diffstat (limited to 'c++/test')
-rw-r--r--c++/test/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/c++/test/CMakeLists.txt b/c++/test/CMakeLists.txt
index 75efc3b..5e7134d 100644
--- a/c++/test/CMakeLists.txt
+++ b/c++/test/CMakeLists.txt
@@ -56,4 +56,6 @@ else ()
endif ()
set_target_properties (cpp_testhdf5 PROPERTIES FOLDER test/cpp)
-include (CMakeTests.cmake)
+if (HDF5_TEST_CPP AND HDF5_TEST_SERIAL)
+ include (CMakeTests.cmake)
+endif ()