summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2011-02-08 00:38:44 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2011-02-08 00:38:44 +0100
commit93bac99a10bbd648eddd50fb271c066b7102cdfd (patch)
tree10c8c7a7aaa402a86bb406326c6fcd1e6aadb757
parentda34bbb3bbf3c2f65f7e81260e27d786ebad4817 (diff)
downloadlogdiag-93bac99a10bbd648eddd50fb271c066b7102cdfd.tar.gz
logdiag-93bac99a10bbd648eddd50fb271c066b7102cdfd.tar.xz
logdiag-93bac99a10bbd648eddd50fb271c066b7102cdfd.zip
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.
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
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