frnetlib/pc/frnetlib.pc.cmake.in
rexy712 1ae3523fe2 Add a pkg-config file to the project.
I ended up having to edit CMakeLists.txt a bit to get it to work out.
So I modified the versioning in version.h to utilize the new variable I made.
No functionality is changed, just worked on the build system.
2021-06-24 16:09:43 -07:00

10 lines
379 B
CMake

libdir=@CMAKE_INSTALL_FULL_LIBDIR@
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: frnetlib
Description: Frnetlib, is a cross-platform, small and fast networking library written in C++.
URL: https://github.com/Cloaked9000/frnetlib
Version: @FRNETLIB_VERSION_MAJOR@.@FRNETLIB_VERSION_MINOR@.@FRNETLIB_VERSION_PATCH@
Libs: -L${libdir} @FRNETLIB_LIBFLAGS@
Cflags: -I${includedir}