From b276d9d8f1c6d00b1089c21c81692a946e60a98b Mon Sep 17 00:00:00 2001 From: Mojca Miklavec Date: Mon, 24 Oct 2022 14:28:36 +0200 Subject: CPack/NSIS: Document BOM mark for UTF-8 encoded LICENSE file Previously this requirement was only mentioned in the 3.20 release notes. --- Modules/CPack.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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``. -- cgit v0.12