summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorJordan Williams <jordan@jwillikers.com>2024-02-02 13:45:18 (GMT)
committerBrad King <brad.king@kitware.com>2024-02-05 19:06:06 (GMT)
commitaebebf72df6f1ed042fe2a6f399e39c1b22bdaab (patch)
tree1a7570de611a4455bc1babf6bb59345c0cd05fbc /Help
parent2c3509136f5efefcd72b13fbfcc065c5b23914ad (diff)
downloadCMake-aebebf72df6f1ed042fe2a6f399e39c1b22bdaab.zip
CMake-aebebf72df6f1ed042fe2a6f399e39c1b22bdaab.tar.gz
CMake-aebebf72df6f1ed042fe2a6f399e39c1b22bdaab.tar.bz2
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
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/findopengl-glu-include-dir.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/findopengl-glu-include-dir.rst b/Help/release/dev/findopengl-glu-include-dir.rst
new file mode 100644
index 0000000..d8c01da
--- /dev/null
+++ b/Help/release/dev/findopengl-glu-include-dir.rst
@@ -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.