there is no moc file generated for this class
[kdegraphics.git] / ksaneplugin / CMakeLists.txt
blobdeaf3ce7a83e02556d1781f68b96ddbdddcab07f
2 project(ksaneplugin)
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} )