summaryrefslogtreecommitdiffstats
path: root/config/cmake/HDF5PluginCache.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-10-19 13:01:02 (GMT)
committerGitHub <noreply@github.com>2023-10-19 13:01:02 (GMT)
commit29c1c02300c00deb2584e672041b3775b11aaf87 (patch)
treeea489b5b4fb7919801f3b739fbbd66a2132e5386 /config/cmake/HDF5PluginCache.cmake
parentebd3744407cf835fcca0170814517da09f62d814 (diff)
downloadhdf5-29c1c02300c00deb2584e672041b3775b11aaf87.zip
hdf5-29c1c02300c00deb2584e672041b3775b11aaf87.tar.gz
hdf5-29c1c02300c00deb2584e672041b3775b11aaf87.tar.bz2
Some corrections and fix for plugins (#3712)
Diffstat (limited to 'config/cmake/HDF5PluginCache.cmake')
-rw-r--r--config/cmake/HDF5PluginCache.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake/HDF5PluginCache.cmake b/config/cmake/HDF5PluginCache.cmake
index 34a97d5..1407561 100644
--- a/config/cmake/HDF5PluginCache.cmake
+++ b/config/cmake/HDF5PluginCache.cmake
@@ -6,7 +6,7 @@
# examples are the tests for plugins
set (H5PL_BUILD_TESTING ON CACHE BOOL "Enable H5PL testing" FORCE)
-set (BUILD_EXAMPLES ON CACHE BOOL "Build H5PL Examples" FORCE)
+set (BUILD_EXAMPLES ${HDF5_BUILD_EXAMPLES} CACHE BOOL "Build H5PL Examples" FORCE)
#preset HDF5 cache vars to this projects libraries instead of searching
set (H5PL_HDF5_HEADER "H5pubconf.h" CACHE STRING "Name of HDF5 header" FORCE)