Skip to content

Commit

Permalink
CMake: Fix Web Site shortcut in IFW installer for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
podsvirov authored and bradking committed Jul 7, 2015
1 parent c823f04 commit c14f20f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/QtIFW/installscript.qs.in
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit c14f20f

Please sign in to comment.