X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=pics%2FCMakeLists.txt;fp=pics%2FCMakeLists.txt;h=78ae93ac2b67cbc1618df2385982aefe54c2bb03;hp=8759f380c9dbeacaa55dd7113b8af504e2f1f8bf;hb=c255f44e7ce5e0b006efcd540d1d9062081c0069;hpb=702ae8b37c72e7d1b786dad62ce1885faf4d2af9 diff --git a/pics/CMakeLists.txt b/pics/CMakeLists.txt index 8759f380..78ae93ac 100644 --- a/pics/CMakeLists.txt +++ b/pics/CMakeLists.txt @@ -10,3 +10,11 @@ if (WANT_MONO OR WANT_QTCLIENT) qt-logo-32.png ) endif() + +# On macOS, the individual icons should be converted into an iconset +add_custom_command( + COMMENT "Creating iconset for macOS" + OUTPUT quassel.icns + COMMAND iconutil ARGS -c icns -o ${CMAKE_CURRENT_BINARY_DIR}/quassel.icns ${CMAKE_CURRENT_SOURCE_DIR}/quassel.iconset +) +add_custom_target(MacOsIcons DEPENDS quassel.icns)