FindGLEW: Set documented variables when found via upstream package
When GLEW is found by find_package
, (most of) the variables described in the documentation of FindGLEW
1 aren't set. That could lead to issues when building packages that rely on these variables.
This PR basically uses the same logic that vcpkg is using to populate these variables. 2 IANAL, but their license should be compatible afaict.
Fixes #19662 (closed)
Edited by Brad King