mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
a8146ba154
Patch by Stephan Wezel, thanks. BUG:168359 svn path=/trunk/KDE/kdebase/apps/; revision=842119
36 lines
1 KiB
CMake
36 lines
1 KiB
CMake
|
|
add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
|
|
|
|
########### next target ###############
|
|
|
|
set(libkfindcommon_SRCS kftabdlg.cpp kfind.cpp kquery.cpp kdatecombo.cpp)
|
|
set(kfindpart_PART_SRCS kfindpart.cpp ${libkfindcommon_SRCS})
|
|
|
|
|
|
kde4_add_plugin(kfindpart WITH_PREFIX ${kfindpart_PART_SRCS})
|
|
|
|
|
|
target_link_libraries(kfindpart ${KDE4_KDE3SUPPORT_LIBS} konq ${KDE4_KPARTS_LIBS})
|
|
|
|
install(TARGETS kfindpart DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kfind_SRCS kfwin.cpp kfinddlg.cpp main.cpp ${libkfindcommon_SRCS})
|
|
|
|
|
|
kde4_add_executable(kfind ${kfind_SRCS})
|
|
|
|
target_link_libraries(kfind ${KDE4_KDE3SUPPORT_LIBS} )
|
|
|
|
install(TARGETS kfind ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES kfind.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
|
|
install( FILES findpart.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
|
|
install( FILES kfindpart.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
|
|
kde4_install_icons( ${ICON_INSTALL_DIR} )
|