cmake: Remove GLU dependency from pkg-config file

The cmake build unconditionally defines `-DGLEW_NO_GLU` but always added
`glu` to `requireslib` for all systems except APPLE.
Remove it from `requireslib` to be in sync with `-DGLEW_NO_GLU`
This commit is contained in:
Marvin Schmidt 2022-02-08 11:46:23 +01:00
parent 966e53fa15
commit 47e79a1581

View File

@ -236,12 +236,7 @@ set (includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
set (version ${GLEW_VERSION})
set (libname ${GLEW_LIB_NAME})
set (cflags)
set (requireslib glu)
# Mac OSX has no glu.pc unless optional X11/GLX is installed
if (APPLE)
set (requireslib)
endif ()
set (requireslib)
configure_file (${GLEW_DIR}/glew.pc.in ${CMAKE_CURRENT_BINARY_DIR}/glew.pc @ONLY)