diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-01-19 13:56:14 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-01-19 13:56:14 (GMT) |
commit | 4ef9c810483c21c99768959db58cb7b6d63ad1e1 (patch) | |
tree | 2666628a2ff31b9cd0eda17b85583b50c7eb44bf /hl/fortran | |
parent | f6ec9a1343dcd75fbc56de8fdaf9ed7c05241fea (diff) | |
download | hdf5-4ef9c810483c21c99768959db58cb7b6d63ad1e1.zip hdf5-4ef9c810483c21c99768959db58cb7b6d63ad1e1.tar.gz hdf5-4ef9c810483c21c99768959db58cb7b6d63ad1e1.tar.bz2 |
Added new CMake options for tests
Diffstat (limited to 'hl/fortran')
-rw-r--r-- | hl/fortran/examples/CMakeLists.txt | 2 | ||||
-rw-r--r-- | hl/fortran/test/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/hl/fortran/examples/CMakeLists.txt b/hl/fortran/examples/CMakeLists.txt index e41b8fe..449194e 100644 --- a/hl/fortran/examples/CMakeLists.txt +++ b/hl/fortran/examples/CMakeLists.txt @@ -52,6 +52,6 @@ foreach (example ${examples}) endif () endforeach () -if (BUILD_TESTING) +if (BUILD_TESTING AND HDF5_TEST_FORTRAN AND HDF5_TEST_EXAMPLES AND HDF5_TEST_SERIAL) include (CMakeTests.cmake) endif () diff --git a/hl/fortran/test/CMakeLists.txt b/hl/fortran/test/CMakeLists.txt index c152142..369692d 100644 --- a/hl/fortran/test/CMakeLists.txt +++ b/hl/fortran/test/CMakeLists.txt @@ -61,4 +61,6 @@ foreach (h5_test ${H5_TESTS}) ADD_H5_FORTRAN_EXE(${h5_test}) endforeach () -include (CMakeTests.cmake) +if (HDF5_TEST_FORTRAN AND HDF5_TEST_SERIAL) + include (CMakeTests.cmake) +endif () |