3e7ac98f28
On Plasma qqc2-desktop-style is used automatically, but not on other DEs. Set it as a default and allow overriding it via environment variables. Also add it as a runtime dep so distros actually ship it.
7 lines
367 B
CMake
7 lines
367 B
CMake
qt5_add_resources(kdeconnect_SRCS resources.qrc)
|
|
|
|
add_executable(kdeconnect-app main.cpp ${kdeconnect_SRCS})
|
|
target_link_libraries(kdeconnect-app Qt5::Quick Qt5::QuickControls2 Qt5::Widgets KF5::CoreAddons KF5::I18n)
|
|
|
|
install(TARGETS kdeconnect-app ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
install(PROGRAMS org.kde.kdeconnect.app.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
|