kdeconnect-kde/app/CMakeLists.txt
2015-06-13 01:30:38 +02:00

9 lines
355 B
CMake

find_package(KF5 COMPONENTS Declarative)
qt5_add_resources(kcapp_SRCS resources.qrc)
add_executable(kcapp main.cpp ${kcapp_SRCS})
target_link_libraries(kcapp Qt5::Quick Qt5::Widgets KF5::Declarative KF5::CoreAddons KF5::I18n)
install(TARGETS kcapp ${INSTALL_TARGETS_DEFAULT_ARGS})
# install(PROGRAMS kcapp.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )