Try using cmake macro