Merge pull request #8806 from delroth/cmake-vendoring cmake: add an option to control dependencies vendoring