mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
FindOpenGL: Add support for a separate GLU include directory
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
This commit is contained in:
committed by
Brad King
parent
2c3509136f
commit
aebebf72df
7
Help/release/dev/findopengl-glu-include-dir.rst
Normal file
7
Help/release/dev/findopengl-glu-include-dir.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
findopengl-glu-include-dir
|
||||
--------------------------
|
||||
|
||||
* The :module:`FindOpenGL` module learned to find a GLU include
|
||||
directory different than the GL include directory. A new
|
||||
``OPENGL_INCLUDE_DIRS`` result variable provides all include
|
||||
directories.
|
||||
Reference in New Issue
Block a user