Merge pull request #12106 from SuperSamus/cmake-pass-version CMake: use version flags if Git isn't found