4 find_package(KSane REQUIRED)
5 message("KSANE_LIBRARY=${KSANE_LIBRARY}")
6 include_directories(${KSANE_INCLUDE_DIR})
7 ########### target ###############
8 kde4_add_plugin(ksaneplugin sanedialog.cpp)
10 target_link_libraries(ksaneplugin ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS} ${KSANE_LIBRARY})
12 install(TARGETS ksaneplugin DESTINATION ${PLUGIN_INSTALL_DIR} )
14 ########### install files ###############
15 install( FILES ksane_scan_service.desktop DESTINATION ${SERVICES_INSTALL_DIR} )