function(determine_version source_dir var_prefix) set(RNP_VERSION %%DISTVERSION%% PARENT_SCOPE) set(RNP_VERSION_NCOMMITS 0 PARENT_SCOPE) set(RNP_VERSION_GIT_REV 0 PARENT_SCOPE) set(RNP_VERSION_IS_DIRTY FALSE PARENT_SCOPE) set(RNP_VERSION_COMMIT_TIMESTAMP 0 PARENT_SCOPE) set(RNP_VERSION_SUFFIX "" PARENT_SCOPE) set(RNP_VERSION_FULL %%DISTVERSION%% PARENT_SCOPE) endfunction()