[Pkg-owncloud-commits] [owncloud-client] 14/333: Icon: Make png2ico / windres failure non-fatal

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 43345dc2366352c6f8f559bebb4142116cc68874
Author: Markus Goetz <markus at woboq.com>
Date:   Mon Feb 10 14:36:32 2014 +0100

    Icon: Make png2ico / windres failure non-fatal
---
 cmake/modules/AddAppIconMacro.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/modules/AddAppIconMacro.cmake b/cmake/modules/AddAppIconMacro.cmake
index 25241d2..9a223e0 100644
--- a/cmake/modules/AddAppIconMacro.cmake
+++ b/cmake/modules/AddAppIconMacro.cmake
@@ -66,7 +66,7 @@ macro (KDE4_ADD_APP_ICON appsources pattern)
                 message(STATUS "Unable to find a related icon that matches pattern ${pattern} for variable ${appsources} - application will not have an application icon!")
             endif(_icons)
         else(PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE)
-            message(FATAL_ERROR "Unable to find the png2ico or windres utilities - application will not have an application icon!")
+            message(WARNING "Unable to find the png2ico or windres utilities - application will not have an application icon!")
         endif(PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE)
     endif(WIN32)
     if (APPLE)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list