set(plugin_NAME FreedbImport)

string(TOLOWER ${plugin_NAME} plugin_TARGET)

qt_wrap_cpp(plugin_GEN_MOC_SRCS
  freedbimportplugin.h
  TARGET ${plugin_TARGET}
)

add_library(${plugin_TARGET}
  freedbimportplugin.cpp
  freedbimporter.cpp
  freedbconfig.cpp
  ${plugin_GEN_MOC_SRCS}
)
target_link_libraries(${plugin_TARGET} kid3-core Kid3Plugin)

INSTALL_KID3_PLUGIN(${plugin_TARGET} ${plugin_NAME})
