From: Michael Wallner Date: Thu, 17 Dec 2020 14:44:57 +0000 (+0100) Subject: cpack: NSIS X-Git-Tag: 1.1.0-beta1~38 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=96d19f9ca3b414a42d55a74c08e09ec2f60f6af2;p=awesomized%2Flibmemcached cpack: NSIS --- diff --git a/CPack/NSIS.txt b/CPack/NSIS.txt index 918931e1..a99cddcf 100644 --- a/CPack/NSIS.txt +++ b/CPack/NSIS.txt @@ -1,5 +1,5 @@ -set(CPACK_PACKAGE_INSTALL_DIRECTORY "${PROJECT_NAME}\\\\${PROJECT_VERSION}") +set(CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_FILE_NAME}") set(CPACK_NSIS_MODIFY_PATH ON) -set(CPACK_NSIS_DISPLAY_NAME "${PROJECT_NAME}-${PROJECT_VERSION}") -set(CPACK_NSIS_PACKAGE_NAME "${PROJECT_NAME}") +set(CPACK_NSIS_DISPLAY_NAME "${CPACK_PACKAGE_FILE_NAME}") +set(CPACK_NSIS_PACKAGE_NAME "${CPACK_PACKAGE_FILE_NAME}") set(CPACK_NSIS_HELP_LINK "${PROJECT_HOMEPAGE_URL}")