add in cmakelist of base/MQ install(FILES FairMQSampler.tpl DESTINATION ...

...include) so that template code is copied in fairroot installation directory