CPack/NSIS: Document BOM mark for UTF-8 encoded LICENSE file

Previously this requirement was only mentioned in the 3.20 release
notes.
This commit is contained in:
Mojca Miklavec
2022-10-24 14:28:36 +02:00
committed by Brad King
parent 29f66bd1cf
commit b276d9d8f1

View File

@@ -217,7 +217,8 @@ installers. The most commonly-used variables are:
to the user by the produced installer (often with an explicit "Accept"
button, for graphical installers) prior to installation. This license
file is NOT added to the installed files but is used by some CPack generators
like NSIS. If you want to install a license file (may be the same as this
like NSIS. If you want to use UTF-8 characters, the file needs to be encoded
in UTF-8 BOM. If you want to install a license file (may be the same as this
one) along with your project, you must add an appropriate CMake
:command:`install` command in your ``CMakeLists.txt``.