Commit 925722f9 authored by Nigel Stewart's avatar Nigel Stewart

OSX cmake refinement - no Requires: glu in glew.pc

parent 2906c1c1
......@@ -192,6 +192,12 @@ 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 ()
configure_file (${GLEW_DIR}/glew.pc.in ${GLEW_DIR}/glew.pc @ONLY)
install(FILES ${GLEW_DIR}/glew.pc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment