FindGLUT: Remove undocumented variables GLUT_INCLUDE_PATH and GLUT_LIBRARY

Fixes: #23370
This commit is contained in:
Letu Ren
2022-05-17 16:29:54 +08:00
committed by Brad King
parent 943210856a
commit 6c053e68df
2 changed files with 5 additions and 4 deletions
@@ -0,0 +1,5 @@
FindGLUT-remove-undocumented-vars
---------------------------------
* The :module:`FindGLUT` module no longer provides the undocumented
result variables ``GLUT_LIBRARY`` and ``GLUT_INCLUDE_PATH``.
-4
View File
@@ -275,8 +275,4 @@ if (GLUT_FOUND)
PROPERTY INTERFACE_LINK_LIBRARIES GLUT::Cocoa)
endif()
endif()
#The following deprecated settings are for backwards compatibility with CMake1.4
set (GLUT_LIBRARY ${GLUT_LIBRARIES})
set (GLUT_INCLUDE_PATH ${GLUT_INCLUDE_DIRS})
endif()