Use CMakes list appending instead of slow set function.