summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindOpenGL
Commit message (Collapse)AuthorAgeFilesLines
* FindOpenGL: Add support for a separate GLU include directoryJordan Williams2024-02-051-0/+1
| | | | | | | | | Add a OPENGL_GLU_INCLUDE_DIR cache variable for `GL/glu.h` and attach it as an include directory to the `OpenGL::GLU` target. Also add a `OPENGL_INCLUDE_DIRS` result variable to list all include directories. Account for the GLU header when deciding whether GLU is found. Fixes: #25627
* Add deprecation warnings for policies CMP0072 and belowBrad King2020-06-121-0/+10
| | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.11 and below to encourage projects to port away from setting policies to OLD.
* FindOpenGL: Add policy CMP0072 to prefer GLVND for legacy GLBrad King2017-11-1710-0/+56
Fixes: #17449