diff options
author | Johnny Jazeix <jazeix@gmail.com> | 2019-10-25 10:08:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-25 18:13:25 (GMT) |
commit | c97abc96882caab6cba49f6ab1b00ceb88b5a757 (patch) | |
tree | d398c6e8f3e1cac79c112771391989a845578220 /Modules/CPack.cmake | |
parent | 44b5f037e66e58cb4b5f9877b568bc40b9b576ca (diff) | |
download | CMake-c97abc96882caab6cba49f6ab1b00ceb88b5a757.zip CMake-c97abc96882caab6cba49f6ab1b00ceb88b5a757.tar.gz CMake-c97abc96882caab6cba49f6ab1b00ceb88b5a757.tar.bz2 |
CPack/NSIS: Add option for custom Uninstall filename
Fixes: #10728
Diffstat (limited to 'Modules/CPack.cmake')
-rw-r--r-- | Modules/CPack.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 1809846..c912a0a 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -688,6 +688,8 @@ endif() # value of CPACK_NSIS_PACKAGE_NAME instead # of CPACK_PACKAGE_INSTALL_DIRECTORY _cpack_set_default(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_INSTALL_DIRECTORY}") +# Specify the name of the Uninstall file in NSIS +_cpack_set_default(CPACK_NSIS_UNINSTALL_NAME "Uninstall") if(CPACK_NSIS_DISPLAY_NAME_SET) _cpack_set_default(CPACK_NSIS_PACKAGE_NAME "${CPACK_NSIS_DISPLAY_NAME}") |