summaryrefslogtreecommitdiffstats
path: root/CMakeInstallation.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2024-01-31 14:13:15 (GMT)
committerGitHub <noreply@github.com>2024-01-31 14:13:15 (GMT)
commit595b5099ea7042cda52d22dda3dd6b4da4b683e6 (patch)
treee2d3a603b19f72a230534bf137dc40ca3ff25e78 /CMakeInstallation.cmake
parent45ac12e6b660edfb312110d4e3b4c6970ff0585a (diff)
downloadhdf5-595b5099ea7042cda52d22dda3dd6b4da4b683e6.zip
hdf5-595b5099ea7042cda52d22dda3dd6b4da4b683e6.tar.gz
hdf5-595b5099ea7042cda52d22dda3dd6b4da4b683e6.tar.bz2
Add binary testing to CI testing (#3971)
* Add binary test job * Correct names of jobs * Add build mode to binary names * Limit packaging execution * Make mac DragNDrop optional * Format if checks * fix checks for TS * Allow examples to be packaged * Correct if NOT format * Correct configure and workflow call * Separate out CMake/Autotools Parallel job * Correct binary examples path * Correct dir path for windows test * Correct paths and add extlibs * Windows binaries do not have a share folder
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r--CMakeInstallation.cmake5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake
index aae6d65..9229c4e 100644
--- a/CMakeInstallation.cmake
+++ b/CMakeInstallation.cmake
@@ -356,7 +356,10 @@ if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
endif ()
elseif (APPLE)
list (APPEND CPACK_GENERATOR "STGZ")
- list (APPEND CPACK_GENERATOR "DragNDrop")
+ option (HDF5_PACK_MACOSX_DMG "Package the HDF5 Library using DragNDrop" OFF)
+ if (HDF5_PACK_MACOSX_DMG)
+ list (APPEND CPACK_GENERATOR "DragNDrop")
+ endif ()
set (CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE ON)
set (CPACK_PACKAGING_INSTALL_PREFIX "/${CPACK_PACKAGE_INSTALL_DIRECTORY}")
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_DIR}/hdf.icns")