~neon/dolphin-plugins/master

« back to all changes in this revision

Viewing changes to dropbox/CMakeLists.txt

  • Committer: Emmanuel Pescosta
  • Date: 2015-07-20 18:24:31 UTC
  • mfrom: (196.1.6)
  • Revision ID: git-v1:24be077570efbdd2b6b06613faba7a52e3b024b3
Merge branch 'frameworks' into Applications/15.08

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
project(fileviewdropboxplugin)
2
2
 
3
 
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${LIBKONQ_INCLUDE_DIR} )
 
3
add_definitions(-DTRANSLATION_DOMAIN=\"fileviewdropboxplugin\")
4
4
 
5
5
set(fileviewdropboxplugin_SRCS
6
6
    fileviewdropboxplugin.cpp
7
7
)
8
8
 
9
 
kde4_add_plugin(fileviewdropboxplugin  ${fileviewdropboxplugin_SRCS})
10
 
target_link_libraries(fileviewdropboxplugin ${KDE4_KIO_LIBS} ${LIBKONQ_LIBRARY})
11
 
install(FILES fileviewdropboxplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR})
12
 
install(TARGETS fileviewdropboxplugin DESTINATION ${PLUGIN_INSTALL_DIR})
 
 
b'\\ No newline at end of file'
 
9
add_library(fileviewdropboxplugin MODULE ${fileviewdropboxplugin_SRCS})
 
10
target_link_libraries(fileviewdropboxplugin
 
11
    Qt5::Core
 
12
    Qt5::Widgets
 
13
    Qt5::Network
 
14
    KF5::I18n
 
15
    KF5::XmlGui
 
16
    KF5::KIOCore
 
17
    DolphinVcs
 
18
)
 
19
 
 
20
install(FILES fileviewdropboxplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR})
 
21
install(TARGETS fileviewdropboxplugin DESTINATION ${KDE_INSTALL_PLUGINDIR})