summaryrefslogtreecommitdiffstats
path: root/Help/cpack_gen
diff options
context:
space:
mode:
authorKevin Ushey <kevinushey@gmail.com>2021-03-02 05:04:54 (GMT)
committerBrad King <brad.king@kitware.com>2021-03-02 15:11:15 (GMT)
commite3ac388738e7b2fb71593d49c70f22fd4c235da0 (patch)
tree755380331d74c5c08272a4d497cdc77e6e2564d1 /Help/cpack_gen
parent11506eb1297ee50a213bad6beb943ba41556c58e (diff)
downloadCMake-e3ac388738e7b2fb71593d49c70f22fd4c235da0.zip
CMake-e3ac388738e7b2fb71593d49c70f22fd4c235da0.tar.gz
CMake-e3ac388738e7b2fb71593d49c70f22fd4c235da0.tar.bz2
cpack: add CPACK_DMG_FILESYSTEM
Allow users to configure the filesystem format of the generated `.dmg` via the `CPACK_DMG_FILESYSTEM` option. Fixes: #21874
Diffstat (limited to 'Help/cpack_gen')
-rw-r--r--Help/cpack_gen/dmg.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Help/cpack_gen/dmg.rst b/Help/cpack_gen/dmg.rst
index 4c662a6..ec2cf1e 100644
--- a/Help/cpack_gen/dmg.rst
+++ b/Help/cpack_gen/dmg.rst
@@ -103,6 +103,12 @@ on macOS:
- Default: ``CPACK_PACKAGE_FILE_NAME-<component>``
+.. variable:: CPACK_DMG_FILESYSTEM
+
+ The filesystem format. Common values are ``APFS`` and ``HFS+``.
+ See ``man hdiutil`` for a full list of supported formats.
+ Defaults to ``HFS+``.
+
.. variable:: CPACK_COMMAND_HDIUTIL
Path to the ``hdiutil(1)`` command used to operate on disk image files on