aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 31fc111c..410ee101 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -506,7 +506,8 @@ install(FILES pixmaps/hardinfo2.png
########################PACKAGE BUILDING FOR DISTROS###########################
#Please update here for building packages
-
+#keep package name as hardinfo to allow for upgrading in distro
+SET(CPACK_PACKAGE_NAME "hardinfo")
SET(CPACK_PACKAGE_HOMEPAGE_URL "https://www.hardinfo2.org")
if(${RPM})
SET(CPACK_GENERATOR "RPM")