CMake: Fix Web Site shortcut in IFW installer for Windows

This commit is contained in:
Konstantin Podsvirov authored and Brad King committed 2015-07-07 09:16:44 -04:00
1 parent c823f04e0c
commit c14f20f7dd
1 file changed
+4 -4
+4 -4
View File
@@ -5,20 +5,20 @@ function Component()
Component.prototype.createOperations = function()
{
// call default implementation to actually install applications!
component.createOperations();
// Create shortcut
if (installer.value("os") === "win") {
@_CPACK_IFW_SHORTCUT_OPTIONAL@
component.addOperation("CreateShortcut",
installer.value("TargetDir") + "/cmake.org.html",
installer.value("TargetDir") + "/@CMAKE_DOC_DIR@/cmake.org.html",
installer.value("StartMenuDir") + "/CMake Web Site.lnk");
component.addOperation("CreateShortcut",
installer.value("TargetDir") + "/cmake-maintenance.exe",
installer.value("StartMenuDir") + "/CMake Maintenance Tool.lnk");
}
// Call default implementation
component.createOperations();
}