mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 19:02:53 +00:00
21 lines
575 B
CMake
21 lines
575 B
CMake
project(ksaneplugin)
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../libksane
|
|
${CMAKE_CURRENT_SOURCE_DIR}/..
|
|
)
|
|
add_definitions(
|
|
${QT_QTDBUS_DEFINITIONS}
|
|
)
|
|
include_directories(${QDBUS_INCLUDE_DIRS})
|
|
|
|
########### target ###############
|
|
kde4_add_plugin(ksaneplugin sanedialog.cpp)
|
|
|
|
target_link_libraries(ksaneplugin ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ksane)
|
|
|
|
install(TARGETS ksaneplugin DESTINATION ${KDE4_PLUGIN_INSTALL_DIR} )
|
|
|
|
########### install files ###############
|
|
install( FILES ksane_scan_service.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR} )
|
|
|