diff options
author | Richard Ulrich <richi@paraeasy.ch> | 2013-05-08 15:13:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-07-19 18:50:43 (GMT) |
commit | 155bb01bd5126f36066653a209a3209f6363a7cd (patch) | |
tree | 22654dc59e58f9e531bee931e19553a35a72daff /CMakeCPack.cmake | |
parent | bfa2e299ae9a8687c6f13e701c87e68b9e4a5054 (diff) | |
download | CMake-155bb01bd5126f36066653a209a3209f6363a7cd.zip CMake-155bb01bd5126f36066653a209a3209f6363a7cd.tar.gz CMake-155bb01bd5126f36066653a209a3209f6363a7cd.tar.bz2 |
CMakeCPack: Provide an upgrade guid for WiX
Set CPACK_WIX_UPGRADE_GUID. Without this upgrade GUID, you end up with
multiple instances of the same installation when installing cmake from a
WIX generated installer.
Diffstat (limited to 'CMakeCPack.cmake')
-rw-r--r-- | CMakeCPack.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake index a27d000..2495c44 100644 --- a/CMakeCPack.cmake +++ b/CMakeCPack.cmake @@ -113,6 +113,8 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") include(Utilities/Release/Cygwin/CMakeLists.txt) endif() + set(CPACK_WIX_UPGRADE_GUID "8ffd1d72-b7f1-11e2-8ee5-00238bca4991") + # Set the options file that needs to be included inside CMakeCPackOptions.cmake set(QT_DIALOG_CPACK_OPTIONS_FILE ${CMake_BINARY_DIR}/Source/QtDialog/QtDialogCPack.cmake) configure_file("${CMake_SOURCE_DIR}/CMakeCPackOptions.cmake.in" |