summaryrefslogtreecommitdiffstats
path: root/Modules/CPackWIX.cmake
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2017-04-04 19:15:33 (GMT)
committerNils Gladitz <nilsgladitz@gmail.com>2017-04-04 19:17:15 (GMT)
commitfde8dfa417e1862e6ca7f6b1e9cb5c4ed9f86b9c (patch)
tree7ac208246bc2ec815566e99b63c39bead86fa168 /Modules/CPackWIX.cmake
parentfb22ba6327355c7de2f54edffdd5bfc2ee814418 (diff)
downloadCMake-fde8dfa417e1862e6ca7f6b1e9cb5c4ed9f86b9c.zip
CMake-fde8dfa417e1862e6ca7f6b1e9cb5c4ed9f86b9c.tar.gz
CMake-fde8dfa417e1862e6ca7f6b1e9cb5c4ed9f86b9c.tar.bz2
CPackWIX: Add documentation for CPACK_WIX_ROOT
Fixes: #16774
Diffstat (limited to 'Modules/CPackWIX.cmake')
-rw-r--r--Modules/CPackWIX.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/CPackWIX.cmake b/Modules/CPackWIX.cmake
index ed0223b..1dc37d4 100644
--- a/Modules/CPackWIX.cmake
+++ b/Modules/CPackWIX.cmake
@@ -279,6 +279,14 @@
# When unset generated installers will default installing to
# ``ProgramFiles<64>Folder``.
#
+# .. variable:: CPACK_WIX_ROOT
+#
+# This variable can optionally be set to the root directory
+# of a custom WiX Toolset installation.
+#
+# When unspecified CPack will try to locate a WiX Toolset
+# installation via the ``WIX`` environment variable instead.
+#
if(NOT CPACK_WIX_ROOT)
file(TO_CMAKE_PATH "$ENV{WIX}" CPACK_WIX_ROOT)