CPack: Replace `hdiutil unflatten` on macOS 11
Hello,
right now the CPackComponentsForAll-DragNDrop
tests fail on macOS 11.0 / Xcode 12 because hdiutil
removed the deprecated unflatten
command:
23: CPack: Create package
123:
123: , CPack_error=CPack Error: Error executing: /usr/bin/hdiutil unflatten
123: "/Users/gregorj/src/cmake/_build_xcode/Tests/CPackComponentsForAll/buildDragNDrop-default/_CPack_Packages/Darwin/DragNDrop/temp.dmg"
123:
123:
123: CPack Error: Error unflattening dmg for adding SLA.
123:
123: hdiutil: unflatten: verb not recognized
123:
123: Usage: /usr/bin/hdiutil <verb> <options>
Thanks, Gregor