Fix the app icon to be ownclouds

This commit is contained in:
Klaas Freitag 2012-05-02 16:33:07 +02:00
parent bfedc2c18b
commit 496572314d
3 changed files with 2 additions and 2 deletions

View file

@ -26,7 +26,7 @@ macro (KDE4_ADD_APP_ICON appsources pattern)
set(WINDRES_EXECUTABLE TRUE)
endif(MSVC)
if (PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE)
string(REPLACE "*" "(.*)" pattern_rx "${pattern}")
string(REPLACE "*" "([0123456789]*)" pattern_rx "${pattern}")
file(GLOB files "${pattern}")
foreach (it ${files})
string(REGEX REPLACE "${pattern_rx}" "\\1" fn "${it}")

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -111,7 +111,7 @@ set( final_src
# add executable icon on windows and osx
include( AddAppIconMacro )
set(ownCloud_old ${ownCloud})
kde4_add_app_icon( ownCloud "${CMAKE_CURRENT_SOURCE_DIR}/../resources/mirall-*.png" )
kde4_add_app_icon( ownCloud "${CMAKE_CURRENT_SOURCE_DIR}/../resources/owncloud-icon-*.png")
list(APPEND final_src ${ownCloud})
set(ownCloud ${ownCloud_old})