diff options
author | Brad King <brad.king@kitware.com> | 2022-10-25 14:36:18 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-10-25 14:36:30 (GMT) |
commit | ed8b07fd5cc603ae646958d5e2dcc0b300007586 (patch) | |
tree | c004c1af424493f31f68a06b55577a8bf63ae6a9 /Modules | |
parent | f4681111ca979861dbedf9ac220d7053cd249889 (diff) | |
parent | b276d9d8f1c6d00b1089c21c81692a946e60a98b (diff) | |
download | CMake-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.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``. |