
include_directories(${CMAKE_SOURCE_DIR}/src/kryonmr/kryonmr ${KDE4_INCLUDES} ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )


########### next target ###############

set(kryonmrthumbcreator_PART_SRCS kryonmrthumbcreator.cpp)

kde4_add_plugin(kryonmrthumbcreator WITH_PREFIX ${kryonmrthumbcreator_PART_SRCS})

target_link_libraries(kryonmrthumbcreator ${KDE4_KDECORE_LIBS} kryonmr ${KDE4_KIO_LIBS} )

install(TARGETS kryonmrthumbcreator DESTINATION ${PLUGIN_INSTALL_DIR})


########### install files ###############

install(FILES  kryonmrthumbcreator.desktop DESTINATION ${SERVICES_INSTALL_DIR} )



#original Makefile.am contents follow:

#
#
#kde_module_LTLIBRARIES = libkryonmrthumbcreator.la
#
#METASOURCES = AUTO
#
#INCLUDES = -I$(top_srcdir)/src/kryonmr/kryonmr $(all_includes)
#
#noinst_HEADERS = kryonmrthumbcreator.h
#
#AM_CXXFLAGS  = -fPIC 
#
#KDE_CXXFLAGS = $(USE_EXCEPTIONS)
#
#libkryonmrthumbcreator_la_SOURCES = kryonmrthumbcreator.cpp
#
#libkryonmrthumbcreator_la_LIBADD =\
#	$(top_builddir)/src/kryonmr/kryonmr/libkryonmr.la $(LIB_KDECORE) $(LIB_KIO)
#	
#libkryonmrthumbcreator_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) \
#	$(KDE_RPATH)
#	
#servicedir = $(kde_servicesdir)
#service_DATA = kryonmrthumbcreator.desktop
