From 739ae1d090094eea6fc545d4d1567b7db9f9683c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lebel Date: Tue, 22 Nov 2016 17:56:18 -0500 Subject: CPack/IFW: Add option to control deletion of the install directory Added support for QT IFW "RemoveTargetDir" boolean option. QTIFW supports an option to prevent, or not, deletion of the installation directory. This is a direct pass-through to that variable. --- Modules/CPackIFW.cmake | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Modules/CPackIFW.cmake') diff --git a/Modules/CPackIFW.cmake b/Modules/CPackIFW.cmake index 05a54a0274..54f61334f6 100644 --- a/Modules/CPackIFW.cmake +++ b/Modules/CPackIFW.cmake @@ -191,6 +191,12 @@ # # By default used QtIFW_ defaults (``maintenancetool``). # +# .. variable:: CPACK_IFW_PACKAGE_REMOVE_TARGET_DIR +# +# Set to ``OFF`` if the target directory should not be deleted when uninstalling. +# +# Is ``ON`` by default +# # .. variable:: CPACK_IFW_PACKAGE_MAINTENANCE_TOOL_INI_FILE # # Filename for the configuration of the generated maintenance tool. -- cgit v1.2.1