summaryrefslogtreecommitdiff
path: root/CMakeCPack.cmake
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2014-07-29 01:58:37 +0400
committerBrad King <brad.king@kitware.com>2014-07-29 15:55:19 -0400
commite7511b7fbe09a4007269992edcde2dc98144da47 (patch)
tree1d3e29a53d5b5a2beb51d92eeab7080a914be550 /CMakeCPack.cmake
parentb234000184bbf314bf0a7380a1d4ebb54f7c8f69 (diff)
downloadcmake-e7511b7fbe09a4007269992edcde2dc98144da47.tar.gz
CPackIFW: Add package configuration variables
Diffstat (limited to 'CMakeCPack.cmake')
-rw-r--r--CMakeCPack.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeCPack.cmake b/CMakeCPack.cmake
index 5b096ade36..b27cd69d15 100644
--- a/CMakeCPack.cmake
+++ b/CMakeCPack.cmake
@@ -74,6 +74,7 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake")
string(TOUPPER ${_CPACK_IFW_COMPONENT_NAME} _CPACK_IFW_COMPONENT_UNAME)
if(${CMAKE_SYSTEM_NAME} MATCHES Windows)
+ set(_CPACK_IFW_PACKAGE_ICON "set(CPACK_IFW_PACKAGE_ICON \"${CMake_SOURCE_DIR}/Source/QtDialog/CMakeSetup.ico\")")
if(BUILD_QtDialog)
set(_CPACK_IFW_SHORTCUT_OPTIONAL "${_CPACK_IFW_SHORTCUT_OPTIONAL}component.addOperation(\"CreateShortcut\", \"@TargetDir@/bin/cmake-gui.exe\", \"@StartMenuDir@/CMake (cmake-gui).lnk\");\n")
endif()