set(SRCS_alligator main.cpp feedsmodel.cpp entriesmodel.cpp fetcher.cpp database.cpp entry.cpp feed.cpp author.cpp enclosure.cpp enclosuredownloadjob.cpp queuemodel.cpp episodemodel.cpp downloadprogressmodel.cpp datamanager.cpp audiomanager.cpp powermanagementinterface.cpp errorlogmodel.cpp error.h mpris2/mpris2.cpp mpris2/mediaplayer2.cpp mpris2/mediaplayer2player.cpp resources.qrc ) qt5_add_dbus_interface(SRCS_alligator dbus-interfaces/org.freedesktop.PowerManagement.Inhibit.xml inhibitinterface) qt5_add_dbus_interface(SRCS_alligator dbus-interfaces/org.gnome.SessionManager.xml gnomesessioninterface) add_executable(alligator ${SRCS_alligator}) kconfig_add_kcfg_files(alligator settingsmanager.kcfgc GENERATE_MOC) target_include_directories(alligator PRIVATE ${CMAKE_BINARY_DIR}) target_link_libraries(alligator PRIVATE Qt5::Core Qt5::Qml Qt5::Quick Qt5::QuickControls2 Qt5::Sql Qt5::Multimedia Qt5::DBus KF5::Syndication KF5::CoreAddons KF5::ConfigGui KF5::I18n) if(ANDROID) target_link_libraries(alligator PRIVATE KF5::Kirigami2 Qt5::Svg OpenSSL::SSL ) kirigami_package_breeze_icons(ICONS dialog-close delete settings-configure help-about-symbolic list-add list-remove view-refresh alligator mail-sent globe data-error rss document-import document-export document-open-folder edit-delete-remove edit-clear-all download media-playlist-append media-seek-backward media-seek-forward media-skip-forward media-playback-start media-playback-pause source-playlist arrow-down overflow-menu ) else() target_link_libraries(alligator PRIVATE Qt5::Widgets) endif() install(TARGETS alligator ${KF5_INSTALL_TARGETS_DEFAULT_ARGS})