summaryrefslogtreecommitdiffstats
path: root/CMakeCPack.cmake
diff options
context:
space:
mode:
authorKonstantin Podsvirov <konstantin@podsvirov.pro>2014-07-28 21:58:37 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-29 19:55:19 (GMT)
commite7511b7fbe09a4007269992edcde2dc98144da47 (patch)
tree1d3e29a53d5b5a2beb51d92eeab7080a914be550 /CMakeCPack.cmake
parentb234000184bbf314bf0a7380a1d4ebb54f7c8f69 (diff)
downloadCMake-e7511b7fbe09a4007269992edcde2dc98144da47.zip
CMake-e7511b7fbe09a4007269992edcde2dc98144da47.tar.gz
CMake-e7511b7fbe09a4007269992edcde2dc98144da47.tar.bz2
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 5b096ad..b27cd69 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()