mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-19 06:18:40 -05:00
FindGLUT: Remove undocumented variables GLUT_INCLUDE_PATH and GLUT_LIBRARY
Fixes: #23370
This commit is contained in:
@@ -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``.
|
||||||
@@ -275,8 +275,4 @@ if (GLUT_FOUND)
|
|||||||
PROPERTY INTERFACE_LINK_LIBRARIES GLUT::Cocoa)
|
PROPERTY INTERFACE_LINK_LIBRARIES GLUT::Cocoa)
|
||||||
endif()
|
endif()
|
||||||
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()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user