Skip to content

FindGLUT: Use pkg-config's results as HINTS for normal search

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

Edited by Brad King

Merge request reports