build: add pkg-config
Allow libpeci to be discovered via pkg-config.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Change-Id: I8269bac5d3375306f5be7afb665e3cc6a61d164c
diff --git a/peci.pc.in b/peci.pc.in
new file mode 100644
index 0000000..61d1725
--- /dev/null
+++ b/peci.pc.in
@@ -0,0 +1,9 @@
+prefix="@CMAKE_INSTALL_PREFIX@"
+libdir="${prefix}/lib"
+includedir="${prefix}/include"
+
+Name: @PROJECT_NAME@
+Description: PECI access library
+Version: @VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lpeci