# HG changeset patch
# User koda
# Date 1363112705 -3600
# Node ID b08cc68a26a3162a964881633178245d69b3284e
# Parent  2dead6b84bca066e7ec64387fb020e91c30b3adb
add 'run Hedgewars' checkbox at the end of the NSIS installation

diff -r 2dead6b84bca -r b08cc68a26a3 cmake_modules/CPackConfig.cmake
--- a/cmake_modules/CPackConfig.cmake	Tue Mar 12 17:18:55 2013 +0100
+++ b/cmake_modules/CPackConfig.cmake	Tue Mar 12 19:25:05 2013 +0100
@@ -24,6 +24,7 @@
     set(CPACK_NSIS_CONTACT "unC0Rr@gmail.com")
     set(CPACK_NSIS_MODIFY_PATH OFF)
     set(CPACK_NSIS_EXECUTABLES_DIRECTORY "${target_binary_install_dir}")
+    set(CPACK_NSIS_MUI_FINISHPAGE_RUN "hedgewars${CMAKE_EXECUTABLE_SUFFIX}")
     set(CPACK_GENERATOR "ZIP;NSIS")
     set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "hedgewars")
 endif(WIN32 AND NOT UNIX)