summaryrefslogtreecommitdiffstats
path: root/c++
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 /c++
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 'c++')
-rw-r--r--c++/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/CMakeLists.txt b/c++/CMakeLists.txt
index 2c0275b..b419c80 100644
--- a/c++/CMakeLists.txt
+++ b/c++/CMakeLists.txt
@@ -13,6 +13,6 @@ endif ()
#-----------------------------------------------------------------------------
# Build the CPP unit tests
#-----------------------------------------------------------------------------
-if (BUILD_TESTING)
+if (NOT HDF5_EXTERNALLY_CONFIGURED AND BUILD_TESTING)
add_subdirectory (test)
endif ()