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.
This commit is contained in:
Brian Gianforcaro 2021-05-13 14:33:12 -07:00 committed by Andreas Kling
parent 9b765b42e4
commit 57385a1c29
Notes: sideshowbarker 2024-07-18 18:12:11 +09:00

View File

@ -109,7 +109,7 @@ function(serenity_app target_name)
list(APPEND allowed_missing_medium_icons "edit-copy")
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()
endfunction()