Skip to content

CPack: Fix .dmg HFS+ creation on macOS APFS hosts

Brad King requested to merge brad.king/cmake:cpack-dmg-explicit-hfs into master

When running hdiutil create, specify the HFS+ filesystem explicitly. Otherwise hdiutil may choose a filesystem based on the host. We do not want to create APFS images for .dmg packages because they may not mount on macOS versions prior to 10.12.

Merge request reports