summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-11-02 12:54:32 (GMT)
committerGitHub <noreply@github.com>2023-11-02 12:54:32 (GMT)
commit528a8e7f46a2adc9b70e47eb7166c385d36220e8 (patch)
tree936f32012b2ad61286e1de743bb2abd41873ae63 /tools
parent90893d28c2f2a795facba1e20eb99addae007f2d (diff)
downloadhdf5-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 'tools')
-rw-r--r--tools/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 55f2c2a..91c57c9 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -7,7 +7,7 @@ add_subdirectory (lib)
add_subdirectory (src)
#-- Add the tests
-if (BUILD_TESTING)
+if (NOT HDF5_EXTERNALLY_CONFIGURED AND BUILD_TESTING)
add_subdirectory (test)
# --------------------------------------------------------------------