mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 22:34:35 +00:00
244948e174
This will be useful when building GLFW as a CMake object library and linking it into a larger library that exports pkg-config information. Partly based on #1307 by @a3f. Closes #1307.
14 lines
418 B
PkgConfig
14 lines
418 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
|
|
Name: GLFW
|
|
Description: A multi-platform library for OpenGL, window and input
|
|
Version: @GLFW_VERSION@
|
|
URL: https://www.glfw.org/
|
|
Requires.private: @GLFW_PKG_CONFIG_REQUIRES_PRIVATE@
|
|
Libs: -L${libdir} -l@GLFW_LIB_NAME@
|
|
Libs.private: @GLFW_PKG_CONFIG_LIBS_PRIVATE@
|
|
Cflags: -I${includedir}
|