summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-01-08 00:28:24 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2014-01-08 00:28:24 (GMT)
commit92c4d4039e6f3c981e8b42d98240e53b8c33bdaf (patch)
tree27e5cc0ea5db416467fad7a197f19829e9af2d8a /Modules
parent855e8759fdf20a209f19f02e8dc5d203f4713a6a (diff)
downloadCMake-92c4d4039e6f3c981e8b42d98240e53b8c33bdaf.zip
CMake-92c4d4039e6f3c981e8b42d98240e53b8c33bdaf.tar.gz
CMake-92c4d4039e6f3c981e8b42d98240e53b8c33bdaf.tar.bz2
CPackWiX: added new CPACK_WIX_CMAKE_PACKAGE_REGISTRY variable
Allows automatic registration of installed packages with the cmake package registry.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/CPackWIX.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/Modules/CPackWIX.cmake b/Modules/CPackWIX.cmake
index 30f57c7..39183c6 100644
--- a/Modules/CPackWIX.cmake
+++ b/Modules/CPackWIX.cmake
@@ -205,6 +205,17 @@
#
# ``<TOOL>`` can be either LIGHT or CANDLE.
#
+# .. variable:: CPACK_WIX_CMAKE_PACKAGE_REGISTRY
+#
+# If this variable is set the generated installer will create
+# an entry in the windows registry key
+# ``HKEY_LOCAL_MACHINE\Software\Kitware\CMake\Packages\<package>``
+# The value for ``<package>`` is provided by this variable.
+#
+# Assuming you also install a CMake configuration file this will
+# allow other CMake projects to find your package with
+# the :command:`find_package` command.
+#
#=============================================================================
# Copyright 2013 Kitware, Inc.