summaryrefslogtreecommitdiffstats
path: root/CMakeInstallation.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-11-01 19:31:31 (GMT)
committerGitHub <noreply@github.com>2023-11-01 19:31:31 (GMT)
commita66684fd7abc7e64fed07993e365ccab693b1c85 (patch)
tree53259e0cd68931e5e28a629dc4b2c9717df87b03 /CMakeInstallation.cmake
parentba9140e5ec7422b18289b15c04095968199e6529 (diff)
downloadhdf5-a66684fd7abc7e64fed07993e365ccab693b1c85.zip
hdf5-a66684fd7abc7e64fed07993e365ccab693b1c85.tar.gz
hdf5-a66684fd7abc7e64fed07993e365ccab693b1c85.tar.bz2
Merge CMake updates from 1.12 development branch (#3821)
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 64641ce..df12edb 100644
--- a/CMakeInstallation.cmake
+++ b/CMakeInstallation.cmake
@@ -147,9 +147,9 @@ if (HDF5_PACK_EXAMPLES)
COMPONENT hdfdocuments
)
- option (EXAMPLES_USE_RELEASE_NAME "Use the released examples artifact name" OFF)
option (EXAMPLES_DOWNLOAD "Download to use released examples files" OFF)
if (EXAMPLES_DOWNLOAD)
+ option (EXAMPLES_USE_RELEASE_NAME "Use the released examples artifact name" OFF)
if (EXAMPLES_USE_RELEASE_NAME)
set (EXAMPLES_NAME ${EXAMPLES_TGZ_ORIGNAME})
else ()