mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-26 07:41:58 +00:00
OSX cmake refinement - no Requires: glu in glew.pc
This commit is contained in:
parent
2906c1c10f
commit
925722f910
@ -192,6 +192,12 @@ set (version ${GLEW_VERSION})
|
|||||||
set (libname ${GLEW_LIB_NAME})
|
set (libname ${GLEW_LIB_NAME})
|
||||||
set (cflags)
|
set (cflags)
|
||||||
set (requireslib glu)
|
set (requireslib glu)
|
||||||
|
|
||||||
|
# Mac OSX has no glu.pc unless optional X11/GLX is installed
|
||||||
|
if (APPLE)
|
||||||
|
set (requireslib)
|
||||||
|
endif ()
|
||||||
|
|
||||||
configure_file (${GLEW_DIR}/glew.pc.in ${GLEW_DIR}/glew.pc @ONLY)
|
configure_file (${GLEW_DIR}/glew.pc.in ${GLEW_DIR}/glew.pc @ONLY)
|
||||||
|
|
||||||
install(FILES ${GLEW_DIR}/glew.pc
|
install(FILES ${GLEW_DIR}/glew.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user