From a2b95775d4cd0d67bbb4eda5732cd97b80f2c2ea Mon Sep 17 00:00:00 2001 From: Mathieu Schroeter Date: Tue, 31 Oct 2017 09:51:21 +0100 Subject: [PATCH] Add entry for windows signature It's not officially supported by CPack, but I use a hack for that. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9561de3..c1fbf90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -316,6 +316,7 @@ if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND "${STATIC_BUILD}") set (CPACK_NSIS_INSTALLED_ICON_NAME "bin\\\\planetblupi.exe") set (CPACK_NSIS_URL_INFO_ABOUT "http://www.blupi.org") set (CPACK_NSIS_MUI_FINISHPAGE_RUN "planetblupi") + set (CPACK_NSIS_SIGN_UNINSTALLER "sign -a -fd sha1 -t http://time.certum.pl -v") include (CPack) find_program (SIGNTOOL_EXECUTABLE signtool)