set(katelatexplugin_PART_SRCS
	katelatex.cpp
	katelatexconfigpage.cpp
	katelatexplugin.cpp
	katelatexthread.cpp
	loghighlighter.cpp)
kde4_add_ui_files(katelatexplugin_PART_SRCS
	katelatexconfigpage.ui)
kde4_add_plugin(katelatexplugin ${katelatexplugin_PART_SRCS})
target_link_libraries(katelatexplugin ${KDE4_KDEUI_LIBS} kateinterfaces ${KDE4_KTEXTEDITOR_LIBS})
install(TARGETS katelatexplugin DESTINATION ${PLUGIN_INSTALL_DIR})
