Desktop file needs icon specified

When building for flatpak @APPLICATION_ICON_NAME@ isn't set, which means that the desktop file does not specify an icon. You get this output Icon= It should say Icon=net.rpdev.OpenTodoList This is seen as the following error when building the flatpak and causes the app not to show up in software stores such as flathub.org

WARNING: Icon not matching app id in /sysroot/home/nick/Projects/net.rpdev.OpenTodoList/app/export/share/applications/net.rpdev.OpenTodoList.desktop: WARNING: Icon referenced in desktop file but not exported: