From a27122e3aea031f7b144da270a1585ac2f4cfd2b Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Mon, 7 Feb 2011 20:34:48 +0100
Subject: Fix generation of NSIS installer packages.
---
CMakeLists.txt | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 33f91ff..a651071 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -306,8 +306,7 @@ set (CPACK_NSIS_INSTALLED_ICON_NAME "logdiag.exe")
set (CPACK_NSIS_CREATE_ICONS_EXTRA
"CreateShortCut '\$SMPROGRAMS\\\\$STARTMENU_FOLDER\\\\logdiag.lnk' '\$INSTDIR\\\\logdiag.exe'")
set (CPACK_NSIS_DELETE_ICONS_EXTRA
- "!insertmacro MUI_STARTMENU_GETFOLDER Application $SM_FOLDER
- Delete '\$SMPROGRAMS\\\\$SM_FOLDER\\\\logdiag.lnk'")
+ "Delete '\$SMPROGRAMS\\\\$MUI_TEMP\\\\logdiag.lnk'")
set (CPACK_DEBIAN_PACKAGE_DEPENDS
"libgtk2.0-0 (>= 2.12), libjson-glib-1.0-0 (>= 0.10.4), liblua5.1-0, librsvg2-common")
--
cgit v1.2.3-70-g09d2