Win installer: provide a pretty icon
authorHans Wennborg <hans@hanshq.net>
Thu, 27 Mar 2014 20:48:37 +0000 (20:48 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 27 Mar 2014 20:48:37 +0000 (20:48 +0000)
llvm-svn: 204960

llvm/CMakeLists.txt
llvm/cmake/nsis_icon.ico [new file with mode: 0644]

index 2377018..2e4e7a3 100644 (file)
@@ -67,6 +67,8 @@ set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.TXT")
 if(WIN32 AND NOT UNIX)
   set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "LLVM")
   set(CPACK_PACKAGE_ICON "${CMAKE_CURRENT_SOURCE_DIR}\\\\cmake\\\\nsis_logo.bmp")
+  set(CPACK_NSIS_MUI_ICON "${CMAKE_CURRENT_SOURCE_DIR}\\\\cmake\\\\nsis_icon.ico")
+  set(CPACK_NSIS_MUI_UNIICON "${CMAKE_CURRENT_SOURCE_DIR}\\\\cmake\\\\nsis_icon.ico")
   set(CPACK_NSIS_MODIFY_PATH "ON")
   set(CPACK_NSIS_ENABLE_UNINSTALL_BEFORE_INSTALL "ON")
   set(CPACK_NSIS_EXTRA_INSTALL_COMMANDS
diff --git a/llvm/cmake/nsis_icon.ico b/llvm/cmake/nsis_icon.ico
new file mode 100644 (file)
index 0000000..9e9e887
Binary files /dev/null and b/llvm/cmake/nsis_icon.ico differ