summaryrefslogtreecommitdiffstats
path: root/CMakeInstallation.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-12-08 13:45:54 (GMT)
committerGitHub <noreply@github.com>2023-12-08 13:45:54 (GMT)
commit4f01fb39d8932e100892533760f5e1ffed98908c (patch)
tree2030a4e8b29d6bba8ba57846a39b7971ea63404e /CMakeInstallation.cmake
parent92ff840f5881e1b650a8b104ce9358b524930e70 (diff)
downloadhdf5-4f01fb39d8932e100892533760f5e1ffed98908c.zip
hdf5-4f01fb39d8932e100892533760f5e1ffed98908c.tar.gz
hdf5-4f01fb39d8932e100892533760f5e1ffed98908c.tar.bz2
Correct CMake command and example packaging (#3888)
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r--CMakeInstallation.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake
index 2b03779..f28bb94 100644
--- a/CMakeInstallation.cmake
+++ b/CMakeInstallation.cmake
@@ -156,7 +156,7 @@ if (HDF5_PACK_EXAMPLES)
)
install (
- DIRECTORY ${HDF5_BINARY_DIR}/HDF5Examples
+ DIRECTORY ${HDF5_SOURCE_DIR}/HDF5Examples
DESTINATION ${HDF5_INSTALL_DATA_DIR}
USE_SOURCE_PERMISSIONS
COMPONENT hdfdocuments