diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-11-02 12:54:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-02 12:54:32 (GMT) |
commit | 528a8e7f46a2adc9b70e47eb7166c385d36220e8 (patch) | |
tree | 936f32012b2ad61286e1de743bb2abd41873ae63 /fortran/CMakeLists.txt | |
parent | 90893d28c2f2a795facba1e20eb99addae007f2d (diff) | |
download | hdf5-528a8e7f46a2adc9b70e47eb7166c385d36220e8.zip hdf5-528a8e7f46a2adc9b70e47eb7166c385d36220e8.tar.gz hdf5-528a8e7f46a2adc9b70e47eb7166c385d36220e8.tar.bz2 |
Sync CMake changes from develop (#3811)
Guard test dirs with HDF5_EXTERNALLY_CONFIGURED
Add toolchain support to examples testing
Diffstat (limited to 'fortran/CMakeLists.txt')
-rw-r--r-- | fortran/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fortran/CMakeLists.txt b/fortran/CMakeLists.txt index cf9b427..efaf963 100644 --- a/fortran/CMakeLists.txt +++ b/fortran/CMakeLists.txt @@ -22,7 +22,7 @@ endif () #----------------------------------------------------------------------------- # Testing #----------------------------------------------------------------------------- -if (BUILD_TESTING) +if (NOT HDF5_EXTERNALLY_CONFIGURED AND BUILD_TESTING) add_subdirectory (test) if (MPI_Fortran_FOUND) add_subdirectory (testpar) |