浏览代码

CMake: Make missing medium icon a FATAL_ERROR

Now that all of the medium icons pass this check, we can make it
FATAL_ERROR to stop any new violations from being checked in.
Brian Gianforcaro 4 年之前
父节点
当前提交
57385a1c29
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Meta/CMake/utils.cmake

+ 1 - 1
Meta/CMake/utils.cmake

@@ -109,7 +109,7 @@ function(serenity_app target_name)
         list(APPEND allowed_missing_medium_icons "edit-copy")
         list(APPEND allowed_missing_medium_icons "edit-copy")
 
 
         if (NOT ${SERENITY_APP_ICON} IN_LIST allowed_missing_medium_icons)
         if (NOT ${SERENITY_APP_ICON} IN_LIST allowed_missing_medium_icons)
-            message(WARNING "Missing medium app icon: ${medium_icon}")
+            message(FATAL_ERROR "Missing medium app icon: ${medium_icon}")
         endif()
         endif()
     endif()
     endif()
 endfunction()
 endfunction()