Merged
requested to merge leha-bot/cmake:fix-find-glut-pkg-config-invalid-for-crossbuild-hint into master
Since !6251 (merged), pkg-config results are used
directly. However, this is not compatible with other features of
CMake's find logic such as CMAKE_FIND_ROOT_PATH
and per-config
results. Switch to a convention already used by pkg-config support in
other find modules, in which the pkg-config results are only used as
hints for the main search logic.
Fixes: #24028 (closed)
Backport: release
Topic-rename: FindGLUT-pkg-config-HINTS