forked from BigfootDev/flatbuffers
This commit enables CMake to generate a flatbuffers.pc file on install. pkg-config eases the utilization of software libraries by enabling the developers of a library to define how the library should be used. It can be used as a tool by build systems to find and manage dependencies, this is notably the default Meson behavior and optionally used by CMake.
10 lines
263 B
PkgConfig
10 lines
263 B
PkgConfig
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
|
|
|
Name: FlatBuffers
|
|
Description: Memory Efficient Serialization Library
|
|
Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@
|
|
|
|
Libs: -L${libdir} -lflatbuffers
|
|
Cflags: -I${includedir}
|