projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cfabc7
)
Install application icon
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 27 Sep 2008 01:55:29 +0000
(
03:55
+0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 27 Sep 2008 01:55:29 +0000
(
03:55
+0200)
icons/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/icons/CMakeLists.txt
b/icons/CMakeLists.txt
index
3a04ba5
..
c917a06
100644
(file)
--- a/
icons/CMakeLists.txt
+++ b/
icons/CMakeLists.txt
@@
-10,4
+10,12
@@
if(OXYGEN_ICONS MATCHES "Builtin")
qt4_add_resources(RC_ICONS oxygen.qrc)
endif(OXYGEN_ICONS MATCHES "Builtin")
+# Application icon
+if(NOT APPLE AND NOT WIN32)
+ install(FILES hicolor/48x48/apps/quassel.png DESTINATION ${ICON_INSTALL_DIR}/hicolor/48x48/apps)
+ if(CMAKE_INSTALL_PREFIX STREQUAL "/usr")
+ install(FILES hicolor/48x48/apps/quassel.png DESTINATION /usr/share/pixmaps)
+ endif(CMAKE_INSTALL_PREFIX STREQUAL "/usr")
+endif(NOT APPLE AND NOT WIN32)
+
add_custom_target(icons DEPENDS ${RC_ICONS})