summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorRobert Adam <dev@robert-adam.de>2023-10-30 17:47:06 (GMT)
committerGitHub <noreply@github.com>2023-10-30 17:47:06 (GMT)
commit87b3e7c8211d9c587589f4d8d2965efb119fbf6d (patch)
tree26228b9958a5d87608330c0e901c804ef3e167a5 /hl
parent44ec53ec485029fc964d67c811c5d3e227f99372 (diff)
downloadhdf5-87b3e7c8211d9c587589f4d8d2965efb119fbf6d.zip
hdf5-87b3e7c8211d9c587589f4d8d2965efb119fbf6d.tar.gz
hdf5-87b3e7c8211d9c587589f4d8d2965efb119fbf6d.tar.bz2
Don't build util tests when HDF5_EXTERNALLY_CONFIGURED=ON (#3781)
Fixes #3780
Diffstat (limited to 'hl')
-rw-r--r--hl/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/CMakeLists.txt b/hl/CMakeLists.txt
index a777b72..45a9a22 100644
--- a/hl/CMakeLists.txt
+++ b/hl/CMakeLists.txt
@@ -26,6 +26,6 @@ if (HDF5_BUILD_EXAMPLES)
endif ()
#-- Build the Unit testing if requested
-if (BUILD_TESTING AND HDF5_TEST_SERIAL)
+if (HDF5_EXTERNALLY_CONFIGURED AND BUILD_TESTING AND HDF5_TEST_SERIAL)
add_subdirectory (test)
endif ()