From fde8dfa417e1862e6ca7f6b1e9cb5c4ed9f86b9c Mon Sep 17 00:00:00 2001 From: Nils Gladitz Date: Tue, 4 Apr 2017 21:15:33 +0200 Subject: [PATCH] CPackWIX: Add documentation for CPACK_WIX_ROOT Fixes: #16774 --- Modules/CPackWIX.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Modules/CPackWIX.cmake b/Modules/CPackWIX.cmake index ed0223ba1b..1dc37d415f 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)