Truly independent web browser
UI: List the macOS icon images instead of globbing them
Andreas Kling1f4a6882bf15
diff --git a/UI/CMakeLists.txt b/UI/CMakeLists.txtindex b53d6f26608..7eb2b4c40ad 100644--- a/UI/CMakeLists.txt+++ b/UI/CMakeLists.txt@@ -24,7 +24,13 @@ function(create_ladybird_bundle target_name)set(bundle_dir "$<TARGET_BUNDLE_DIR:${target_name}>")# The bundle's icon is made after linking, so a changed icon relinks the target.- file(GLOB app_icon_images CONFIGURE_DEPENDS "${LADYBIRD_SOURCE_DIR}/UI/Icons/macos/app_icon.iconset/*.png")+ set(app_icon_images)+ foreach (size IN ITEMS 16 32 128 256 512)+ list(APPEND app_icon_images+ "${LADYBIRD_SOURCE_DIR}/UI/Icons/macos/app_icon.iconset/icon_${size}x${size}.png"+ "${LADYBIRD_SOURCE_DIR}/UI/Icons/macos/app_icon.iconset/icon_${size}x${size}@2x.png"+ )+ endforeach()set_property(TARGET ${target_name} APPEND PROPERTY LINK_DEPENDS ${app_icon_images})add_custom_command(TARGET ${target_name} POST_BUILD