projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7754e67
)
Don't install icons for the core
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Fri, 28 Aug 2009 10:43:49 +0000
(12:43 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Fri, 28 Aug 2009 10:43:49 +0000
(12:43 +0200)
icons/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/icons/CMakeLists.txt
b/icons/CMakeLists.txt
index
5824c6e
..
480598e
100644
(file)
--- a/
icons/CMakeLists.txt
+++ b/
icons/CMakeLists.txt
@@
-2,12
+2,14
@@
# We put them in DATA_INSTALL_DIR rather than ICON_INSTALL_DIR, to avoid
# polluting the global namespace and to allow overriding
# We put them in DATA_INSTALL_DIR rather than ICON_INSTALL_DIR, to avoid
# polluting the global namespace and to allow overriding
-if(EMBED_DATA)
- set(CLIENT_RCS ${CLIENT_RCS} ../icons/hicolor.qrc ../icons/oxygen.qrc PARENT_SCOPE)
-else(EMBED_DATA)
- install(DIRECTORY hicolor DESTINATION ${DATA_INSTALL_DIR}/quassel/icons)
- install(DIRECTORY oxygen DESTINATION ${DATA_INSTALL_DIR}/quassel/icons)
-endif(EMBED_DATA)
+if(WANT_MONO OR WANT_QTCLIENT)
+ if(EMBED_DATA)
+ set(CLIENT_RCS ${CLIENT_RCS} ../icons/hicolor.qrc ../icons/oxygen.qrc PARENT_SCOPE)
+ else(EMBED_DATA)
+ install(DIRECTORY hicolor DESTINATION ${DATA_INSTALL_DIR}/quassel/icons)
+ install(DIRECTORY oxygen DESTINATION ${DATA_INSTALL_DIR}/quassel/icons)
+ endif(EMBED_DATA)
+endif(WANT_MONO OR WANT_QTCLIENT)
# Application icon
if(NOT APPLE AND NOT WIN32)
# Application icon
if(NOT APPLE AND NOT WIN32)