summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-10-25 14:36:18 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-10-25 14:36:30 (GMT)
commited8b07fd5cc603ae646958d5e2dcc0b300007586 (patch)
treec004c1af424493f31f68a06b55577a8bf63ae6a9 /Modules
parentf4681111ca979861dbedf9ac220d7053cd249889 (diff)
parentb276d9d8f1c6d00b1089c21c81692a946e60a98b (diff)
downloadCMake-ed8b07fd5cc603ae646958d5e2dcc0b300007586.zip
CMake-ed8b07fd5cc603ae646958d5e2dcc0b300007586.tar.gz
CMake-ed8b07fd5cc603ae646958d5e2dcc0b300007586.tar.bz2
Merge topic 'nsis-licence-bom'
b276d9d8f1 CPack/NSIS: Document BOM mark for UTF-8 encoded LICENSE file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7820
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPack.cmake3
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``.