diff options
author | Mojca Miklavec <mojca.miklavec@dewesoft.com> | 2022-10-24 12:28:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-24 16:58:10 (GMT) |
commit | b276d9d8f1c6d00b1089c21c81692a946e60a98b (patch) | |
tree | a9d14c929904393e09f4be62910074bbe167193a | |
parent | 29f66bd1cf834b5ea1d62936169260dc75f4d2e9 (diff) | |
download | CMake-b276d9d8f1c6d00b1089c21c81692a946e60a98b.zip CMake-b276d9d8f1c6d00b1089c21c81692a946e60a98b.tar.gz CMake-b276d9d8f1c6d00b1089c21c81692a946e60a98b.tar.bz2 |
CPack/NSIS: Document BOM mark for UTF-8 encoded LICENSE file
Previously this requirement was only mentioned in the 3.20 release
notes.
-rw-r--r-- | Modules/CPack.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 828d9ca..7c3ad6b 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -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``. |