I thought this would be a non issue with cmake... As far as I know the cmake targets are only executed if the source dependencies change, so regeneration target shouldn't be called unless the svg files actually change.