mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:57:45 +00:00
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:
parent
9b765b42e4
commit
57385a1c29
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue