Upstream FindGLIB2.cmake changes from Qt
Qt has a copy of this and has added support for a few more components.
Changes by:
- Alexandru Croitor alexandru.croitor@qt.io
- Julien Schueller schueller@phimeca.com
- Ilya Fedin fedin-ilja2010@ya.ru
For builds against a static Qt we need those two to match, as Qt's CMake config files contain find calls that expect their version. If our version is found in the search path first instead things break.