summaryrefslogtreecommitdiffhomepage
path: root/raylib.pc.in
diff options
context:
space:
mode:
authorAdam Griffiths <[email protected]>2020-09-26 00:20:49 +1000
committerGitHub <[email protected]>2020-09-25 16:20:49 +0200
commitb9ece86ffdf6e8fa14c3432e26e126429fffbb17 (patch)
treee8da5bda9914e93038a068454342a7bf74d099c0 /raylib.pc.in
parentbd512764ff7c82fa6e1395c51accb3ba18162827 (diff)
downloadraylib-b9ece86ffdf6e8fa14c3432e26e126429fffbb17.tar.gz
raylib-b9ece86ffdf6e8fa14c3432e26e126429fffbb17.zip
Add join_paths and join prefix with include/lib dirs (#1383)
Fixes #1380: incorrect usage of CMake paths which causes issues on some more complicated environments (NixOS especially).
Diffstat (limited to 'raylib.pc.in')
-rw-r--r--raylib.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/raylib.pc.in b/raylib.pc.in
index 5c2a2ec2..1c6e41b1 100644
--- a/raylib.pc.in
+++ b/raylib.pc.in
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+libdir=@libdir_for_pc_file@
+includedir=@includedir_for_pc_file@
Name: raylib
Description: Simple and easy-to-use library to enjoy videogames programming