summaryrefslogtreecommitdiffstats
path: root/java
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 /java
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 'java')
-rw-r--r--java/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt
index ae37ceb..4965f2c 100644
--- a/java/CMakeLists.txt
+++ b/java/CMakeLists.txt
@@ -49,7 +49,7 @@ endif ()
#-----------------------------------------------------------------------------
# Testing
#-----------------------------------------------------------------------------
-if (BUILD_TESTING)
+if (NOT HDF5_EXTERNALLY_CONFIGURED AND BUILD_TESTING)
add_subdirectory (test)
endif ()