--- a
+++ b/gsoc2009/textfilter/scribus/plugins/idmlimplugin/CMakeLists.txt
@@ -0,0 +1,29 @@
+INCLUDE_DIRECTORIES(
+${CMAKE_SOURCE_DIR}
+${CMAKE_SOURCE_DIR}/scribus
+)
+
+SET(IMPORTIDML_PLUGIN_MOC_CLASSES
+  importidml.h
+  importidmlplugin.h
+)
+
+SET(IMPORTIDML_PLUGIN_SOURCES
+  importidml.cpp
+  importidmlplugin.cpp
+)
+
+SET(SCRIBUS_IMPORTIDML_PLUGIN "importidml")
+
+QT4_WRAP_CPP(IMPORTIDML_PLUGIN_MOC_SOURCES ${IMPORTIDML_PLUGIN_MOC_CLASSES})
+
+ADD_LIBRARY(${SCRIBUS_IMPORTIDML_PLUGIN} MODULE ${IMPORTIDML_PLUGIN_SOURCES} ${IMPORTIDML_PLUGIN_MOC_SOURCES})
+
+TARGET_LINK_LIBRARIES(${SCRIBUS_IMPORTIDML_PLUGIN} ${PLUGIN_LIBRARIES})
+
+INSTALL(TARGETS ${SCRIBUS_IMPORTIDML_PLUGIN}
+  LIBRARY
+  DESTINATION ${PLUGINDIR}
+  PERMISSIONS ${PLUGIN_PERMISSIONS}
+)
+ADD_DEPENDENCIES(${SCRIBUS_IMPORTIDML_PLUGIN} ${EXE_NAME})