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).
This commit is contained in:
Adam Griffiths 2020-09-26 00:20:49 +10:00 committed by GitHub
parent bd512764ff
commit b9ece86ffd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 2 deletions

View file

@ -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