Update Version.cmake

Fixed warning message when git is not available.