CPackWIX: Add documentation for CPACK_WIX_ROOT

Fixes: #16774
This commit is contained in:
Nils Gladitz 2017-04-04 21:15:33 +02:00
parent fb22ba6327
commit fde8dfa417

View File

@ -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)