From 2a1e7a2304b8129f71e404e2b0b69db23d751053 Mon Sep 17 00:00:00 2001 From: Heiko Becker Date: Thu, 18 Sep 2025 02:28:58 +0200 Subject: [PATCH] fix(ECMAddAppIcon): Avoid warning with cmake >= 4.1 It started to warn about elseif() without a condition [1]. [1] https://gitlab.kitware.com/cmake/cmake/-/commit/74c62a180dccfd2cb7d594474f93e0facccdd60d Signed-off-by: Heiko Becker --- cmake/modules/ECMAddAppIcon.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/ECMAddAppIcon.cmake b/cmake/modules/ECMAddAppIcon.cmake index e308dbddc2..647e277d6a 100644 --- a/cmake/modules/ECMAddAppIcon.cmake +++ b/cmake/modules/ECMAddAppIcon.cmake @@ -412,7 +412,7 @@ macro(_ecm_add_app_icon_categorize_icons icons type known_sizes) if (offset GREATER -1) list(APPEND ${type}_at_${size}px "${icon_full}") - elseif() + else() message(STATUS "not found ${type}_at_${size}px ${icon_full}") endif() endif()