Remove KDeclarative dependency from app

This commit is contained in:
Nicolas Fella 2019-07-18 01:15:35 +00:00 committed by Aleix Pol Gonzalez
parent e43c875ba2
commit abac7dac46

View file

@ -1,9 +1,7 @@
find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Declarative)
qt5_add_resources(kcapp_SRCS resources.qrc) qt5_add_resources(kcapp_SRCS resources.qrc)
add_executable(kcapp main.cpp ${kcapp_SRCS}) add_executable(kcapp main.cpp ${kcapp_SRCS})
target_link_libraries(kcapp Qt5::Quick Qt5::Widgets KF5::Declarative KF5::CoreAddons KF5::I18n) target_link_libraries(kcapp Qt5::Quick Qt5::Widgets KF5::CoreAddons KF5::I18n)
install(TARGETS kcapp ${INSTALL_TARGETS_DEFAULT_ARGS}) install(TARGETS kcapp ${INSTALL_TARGETS_DEFAULT_ARGS})
install(PROGRAMS org.kde.kdeconnect.app.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) install(PROGRAMS org.kde.kdeconnect.app.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})