added version configuration into cmake