diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-01-15 18:28:53 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-01-15 18:28:53 (GMT) |
commit | 7022a3380cdee2fa521c8e21e9897e2a7bf1b95a (patch) | |
tree | 2fd57a486ffcbc3c5d700f981a2322d5787f582f /hl/c++ | |
parent | 26c65e106a430a4c78d88a232d945c156466bc64 (diff) | |
download | hdf5-7022a3380cdee2fa521c8e21e9897e2a7bf1b95a.zip hdf5-7022a3380cdee2fa521c8e21e9897e2a7bf1b95a.tar.gz hdf5-7022a3380cdee2fa521c8e21e9897e2a7bf1b95a.tar.bz2 |
HDFFV-11001 need to qualify all by parallel or serial types
Diffstat (limited to 'hl/c++')
-rw-r--r-- | hl/c++/CMakeLists.txt | 5 | ||||
-rw-r--r-- | hl/c++/examples/CMakeLists.txt | 2 | ||||
-rw-r--r-- | hl/c++/test/CMakeLists.txt | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/hl/c++/CMakeLists.txt b/hl/c++/CMakeLists.txt index aa57b76..a62d9d4 100644 --- a/hl/c++/CMakeLists.txt +++ b/hl/c++/CMakeLists.txt @@ -17,7 +17,6 @@ endif () # Add in the unit tests for the packet table c++ wrapper # -------------------------------------------------------------------- -if (BUILD_TESTING AND HDF5_TEST_SERIAL) - add_subdirectory (test) - endif () +if (BUILD_TESTING) + add_subdirectory (test) endif () diff --git a/hl/c++/examples/CMakeLists.txt b/hl/c++/examples/CMakeLists.txt index a201dea..4bd4807 100644 --- a/hl/c++/examples/CMakeLists.txt +++ b/hl/c++/examples/CMakeLists.txt @@ -23,6 +23,6 @@ else () endif () set_target_properties (ptExampleFL PROPERTIES FOLDER examples/hl/cpp) -if (BUILD_TESTING AND HDF5_TEST_CPP AND HDF5_TEST_EXAMPLES) +if (BUILD_TESTING AND HDF5_TEST_CPP AND HDF5_TEST_EXAMPLES AND HDF5_TEST_SERIAL) include (CMakeTests.cmake) endif () diff --git a/hl/c++/test/CMakeLists.txt b/hl/c++/test/CMakeLists.txt index 03237af..429e5c7 100644 --- a/hl/c++/test/CMakeLists.txt +++ b/hl/c++/test/CMakeLists.txt @@ -24,6 +24,6 @@ else () endif () set_target_properties (hl_ptableTest PROPERTIES FOLDER test/hl/cpp) -if (HDF5_TEST_CPP) +if (HDF5_TEST_CPP AND HDF5_TEST_SERIAL) include (CMakeTests.cmake) endif () |