From 93bac99a10bbd648eddd50fb271c066b7102cdfd Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Tue, 8 Feb 2011 00:38:44 +0100 Subject: Make CPack information more NSIS-friendly. 1. It's wont process UTF-8 correctly, so let's cripple my name. 2. Add a project URL, again in a crippled format. --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e402924..cf9bfc1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -284,7 +284,7 @@ endif (WIN32) # CPack set (CPACK_PACKAGE_DESCRIPTION_SUMMARY "Schematic editor") -set (CPACK_PACKAGE_VENDOR "Přemysl Janouch") +set (CPACK_PACKAGE_VENDOR "Premysl Janouch") set (CPACK_PACKAGE_CONTACT "p.janouch@gmail.com") set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE") set (CPACK_PACKAGE_VERSION_MAJOR ${project_VERSION_MAJOR}) @@ -308,6 +308,9 @@ set (CPACK_NSIS_CREATE_ICONS_EXTRA set (CPACK_NSIS_DELETE_ICONS_EXTRA "Delete '\$SMPROGRAMS\\\\$MUI_TEMP\\\\logdiag.lnk'") +string (REPLACE "http://" "http:\\\\\\\\" project_URL_NSIS "${project_URL}") +set (CPACK_NSIS_URL_INFO_ABOUT "${project_URL_NSIS}") + set (CPACK_DEBIAN_PACKAGE_DEPENDS "libgtk2.0-0 (>= 2.12), libjson-glib-1.0-0 (>= 0.10.4), liblua5.1-0, librsvg2-common") set (CPACK_DEBIAN_PACKAGE_BUILDS_DEPENDS -- cgit v1.2.3-70-g09d2