mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-22 14:45:06 +00:00
Extend glew.pc output to mention GL linking (-framework on OSX)
This commit is contained in:
parent
10f2d76c62
commit
f5feecd46e
1
Makefile
1
Makefile
@ -149,6 +149,7 @@ glew.pc: glew.pc.in
|
|||||||
-e "s|@version@|$(GLEW_VERSION)|g" \
|
-e "s|@version@|$(GLEW_VERSION)|g" \
|
||||||
-e "s|@cflags@||g" \
|
-e "s|@cflags@||g" \
|
||||||
-e "s|@libname@|$(NAME)|g" \
|
-e "s|@libname@|$(NAME)|g" \
|
||||||
|
-e "s|@libgl@|$(LDFLAGS.GL)|g" \
|
||||||
-e "s|@requireslib@|$(LIBGLU)|g" \
|
-e "s|@requireslib@|$(LIBGLU)|g" \
|
||||||
< $< > $@
|
< $< > $@
|
||||||
|
|
||||||
|
@ -7,5 +7,5 @@ Name: glew
|
|||||||
Description: The OpenGL Extension Wrangler library
|
Description: The OpenGL Extension Wrangler library
|
||||||
Version: @version@
|
Version: @version@
|
||||||
Cflags: -I${includedir} @cflags@
|
Cflags: -I${includedir} @cflags@
|
||||||
Libs: -L${libdir} -l@libname@
|
Libs: -L${libdir} -l@libname@ @libgl@
|
||||||
Requires: @requireslib@
|
Requires: @requireslib@
|
||||||
|
Loading…
Reference in New Issue
Block a user