Changeset View
Changeset View
Standalone View
Standalone View
fileitemactionplugin/CMakeLists.txt
1 | find_package(KF5 REQUIRED COMPONENTS KIO) | | |||
---|---|---|---|---|---|
2 | | ||||
3 | add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-fileitemaction") | 1 | add_definitions(-DTRANSLATION_DOMAIN="kdeconnect-fileitemaction") | ||
4 | include_directories(${CMAKE_SOURCE_DIR}) | 2 | include_directories(${CMAKE_SOURCE_DIR}) | ||
5 | 3 | | |||
6 | add_library(kdeconnectfileitemaction MODULE sendfileitemaction.cpp) | 4 | add_library(kdeconnectfileitemaction MODULE sendfileitemaction.cpp) | ||
7 | target_link_libraries(kdeconnectfileitemaction | 5 | target_link_libraries(kdeconnectfileitemaction | ||
8 | KF5::KIOWidgets | 6 | KF5::KIOWidgets | ||
9 | KF5::I18n | 7 | KF5::I18n | ||
10 | kdeconnectinterfaces | 8 | kdeconnectinterfaces | ||
11 | ) | 9 | ) | ||
12 | install(TARGETS kdeconnectfileitemaction DESTINATION ${PLUGIN_INSTALL_DIR}) | 10 | install(TARGETS kdeconnectfileitemaction DESTINATION ${PLUGIN_INSTALL_DIR}) | ||
13 | install(FILES kdeconnectsendfile.desktop DESTINATION ${SERVICES_INSTALL_DIR}) | 11 | install(FILES kdeconnectsendfile.desktop DESTINATION ${SERVICES_INSTALL_DIR}) |