CMake: Fix Web Site shortcut in IFW installer for Windows
This commit is contained in:
parent
c823f04e0c
commit
c14f20f7dd
|
@ -5,20 +5,20 @@ function Component()
|
||||||
|
|
||||||
Component.prototype.createOperations = function()
|
Component.prototype.createOperations = function()
|
||||||
{
|
{
|
||||||
// call default implementation to actually install applications!
|
|
||||||
component.createOperations();
|
|
||||||
|
|
||||||
// Create shortcut
|
// Create shortcut
|
||||||
if (installer.value("os") === "win") {
|
if (installer.value("os") === "win") {
|
||||||
|
|
||||||
@_CPACK_IFW_SHORTCUT_OPTIONAL@
|
@_CPACK_IFW_SHORTCUT_OPTIONAL@
|
||||||
|
|
||||||
component.addOperation("CreateShortcut",
|
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");
|
installer.value("StartMenuDir") + "/CMake Web Site.lnk");
|
||||||
|
|
||||||
component.addOperation("CreateShortcut",
|
component.addOperation("CreateShortcut",
|
||||||
installer.value("TargetDir") + "/cmake-maintenance.exe",
|
installer.value("TargetDir") + "/cmake-maintenance.exe",
|
||||||
installer.value("StartMenuDir") + "/CMake Maintenance Tool.lnk");
|
installer.value("StartMenuDir") + "/CMake Maintenance Tool.lnk");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Call default implementation
|
||||||
|
component.createOperations();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue