I am using CPack to create a dmg file for installation on MacOS. Because I have provided CPACK_RESOURCE_FILE_LICENSE
the license file is included in the dmg file and a window is opened when trying to mount it. After clicking "Agree", I can drag and drop my application to install.
However, the license file looks very ugly. It's displayed as plain text, double line breaks are condensed into one and there are seemingly random line breaks in the middle of the text. I would really like to improve the look.
Ideally, there is an CPack-compatible way to change the formatting, font, font size, etc. But if not, then I would be content with a way to add an empty line between paragraphs.
I have tried adding more line breaks, but any number of line breaks get condensed into one.
This is what the license file looks like:
MIT License
Copyright (c) 2020-2022
Permission is hereby granted, free ...