Explorar o código

Fatal error if svn2ico is missing.

Klaas Freitag %!s(int64=13) %!d(string=hai) anos
pai
achega
6b98958de6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cmake/modules/AddAppIconMacro.cmake

+ 1 - 1
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(STATUS "Unable to find the png2ico or windres utilities - application will not have an application icon!")
+            message(FATAL_ERROR "Unable to find the png2ico or windres utilities - application will not have an application icon!")
         endif(PNG2ICO_EXECUTABLE AND WINDRES_EXECUTABLE)
     endif(WIN32)
     if (Q_WS_MAC)