If the spell in question doesn't set them on fire, then no, it doesn't stack. The feat specifically states that it only applies when you set someone on fire. Although, it also applies when you set them on fire "by any means", including (alchemists fire).