[sr-dev] git:master:170ddcca: cmake: Add option to not use git to gather commit info