summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMike McQuaid <mike@mikemcquaid.com>2011-01-06 12:48:47 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-01-06 21:21:23 (GMT)
commit702c8f8ba79591744449244ed47a5181fdf68a63 (patch)
treee43917ff39c2d625f27ad39f84b2cfdbfcd2cc4a /Modules
parentfec32328b17662d44bfa7769e672529c24e1697f (diff)
downloadCMake-702c8f8ba79591744449244ed47a5181fdf68a63.zip
CMake-702c8f8ba79591744449244ed47a5181fdf68a63.tar.gz
CMake-702c8f8ba79591744449244ed47a5181fdf68a63.tar.bz2
Add CPACK_NSIS_EXECUTABLES_DIRECTORY (#7828)
NSIS installers default to assuming the executables exist in a directory named "bin" under the installation directory. As this isn't usual for Windows programs, the addition of this variable allows the customization of this directory and links still to be created correctly.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPack.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake
index 7033e31..dc65b5a 100644
--- a/Modules/CPack.cmake
+++ b/Modules/CPack.cmake
@@ -257,6 +257,11 @@
# CPACK_NSIS_DELETE_ICONS_EXTRA -Additional NSIS commands to
# uninstall start menu shortcuts.
#
+# CPACK_NSIS_EXECUTABLES_DIRECTORY - Creating NSIS start menu links
+# assumes that they are in 'bin' unless this variable is set.
+# For example, you would set this to 'exec' if your executables are
+# in an exec directory.
+#
# The following variable is specific to installers build on Mac OS X
# using PackageMaker:
#