summaryrefslogtreecommitdiffhomepage
path: root/raylib.pc.in
diff options
context:
space:
mode:
authorRay <[email protected]>2017-11-24 18:49:49 +0100
committerGitHub <[email protected]>2017-11-24 18:49:49 +0100
commit10dc276423b32d00ee7f1e28fe19d66311bc49f6 (patch)
tree71631ce3c45385ab7c2f1251abb5fcf8c2a11201 /raylib.pc.in
parent589cec0dd585bae24bd872e70a3bcf64a95e5b1a (diff)
parent44376c04fa8ed5bc9ca48598afa1d177d169fa32 (diff)
downloadraylib-10dc276423b32d00ee7f1e28fe19d66311bc49f6.tar.gz
raylib-10dc276423b32d00ee7f1e28fe19d66311bc49f6.zip
Merge pull request #395 from a3f/develop
Generate and install pkg-config pc file and allow static/shared builds in one go
Diffstat (limited to 'raylib.pc.in')
-rw-r--r--raylib.pc.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/raylib.pc.in b/raylib.pc.in
new file mode 100644
index 00000000..0472c283
--- /dev/null
+++ b/raylib.pc.in
@@ -0,0 +1,13 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: raylib
+Description: Simple and easy-to-use library to learn videogames programming
+URL: https://github.com/raysan5/raylib
+Version: @PROJECT_VERSION@
+Libs: -L${libdir} -lraylib
+Libs.private:@PKG_CONFIG_LIBS_PRIVATE@
+Requires.private:
+Cflags: -I${includedir}