Changeset View
Changeset View
Standalone View
Standalone View
sfos/CMakeLists.txt
- This file was added.
1 | find_package(Qt5 5.2 REQUIRED COMPONENTS DBus) | ||||
---|---|---|---|---|---|
2 | | ||||
3 | set(kdeconnectsfos_SRCS | ||||
4 | kdeconnect-sfos.cpp | ||||
5 | ../plasmoid/declarativeplugin/kdeconnectdeclarativeplugin.cpp | ||||
6 | ../plasmoid/declarativeplugin/responsewaiter.cpp | ||||
7 | ) | ||||
8 | | ||||
9 | #find_package(KF5 COMPONENTS Declarative) | ||||
10 | | ||||
11 | #qt5_add_resources(kcapp_SRCS resources.qrc) | ||||
12 | qt5_wrap_cpp(kdeconnectsfos_SRCS ../plasmoid/declarativeplugin/objectfactory.h) | ||||
13 | | ||||
14 | add_executable(kdeconnect-sfos ${kdeconnectsfos_SRCS}) | ||||
15 | target_link_libraries(kdeconnect-sfos Qt5::Quick KF5::CoreAddons KF5::I18n sailfishapp Qt5::DBus kdeconnectinterfaces) | ||||
16 | | ||||
17 | install(TARGETS kdeconnect-sfos ${INSTALL_TARGETS_DEFAULT_ARGS}) | ||||
18 | install(PROGRAMS kdeconnect-sfos.desktop DESTINATION ${XDG_APPS_INSTALL_DIR}) | ||||
19 | INSTALL( DIRECTORY qml DESTINATION ${SHARE_INSTALL_PREFIX}/kdeconnect-sfos/ ) | ||||
20 | |