mirror of
https://github.com/nigels-com/glew.git
synced 2025-03-09 03:03:07 +00:00
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:
parent
966e53fa15
commit
47e79a1581
@ -236,12 +236,7 @@ set (includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
|
|||||||
set (version ${GLEW_VERSION})
|
set (version ${GLEW_VERSION})
|
||||||
set (libname ${GLEW_LIB_NAME})
|
set (libname ${GLEW_LIB_NAME})
|
||||||
set (cflags)
|
set (cflags)
|
||||||
set (requireslib glu)
|
set (requireslib)
|
||||||
|
|
||||||
# Mac OSX has no glu.pc unless optional X11/GLX is installed
|
|
||||||
if (APPLE)
|
|
||||||
set (requireslib)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
configure_file (${GLEW_DIR}/glew.pc.in ${CMAKE_CURRENT_BINARY_DIR}/glew.pc @ONLY)
|
configure_file (${GLEW_DIR}/glew.pc.in ${CMAKE_CURRENT_BINARY_DIR}/glew.pc @ONLY)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user