cpack: NSIS
authorMichael Wallner <mike@php.net>
Thu, 17 Dec 2020 14:44:57 +0000 (15:44 +0100)
committerMichael Wallner <mike@php.net>
Thu, 17 Dec 2020 14:44:57 +0000 (15:44 +0100)
CPack/NSIS.txt

index 918931e1ec6ebb47040f34d1f86362e97a74a7c5..a99cddcfa865a80404973003491cd8b633b39b98 100644 (file)
@@ -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}")