You can find a template of the CMakeLists.txt for your plugin in the template/plugin_template folder or here 
https://devel.hds.utc.fr/svn/pacpustutorials/template/plugin_template/

