summaryrefslogtreecommitdiffhomepage
path: root/raylib.pc.in
AgeCommit message (Collapse)Author
2021-10-26Update raylib.pc.inRay
2020-09-25Add join_paths and join prefix with include/lib dirs (#1383)Adam Griffiths
Fixes #1380: incorrect usage of CMake paths which causes issues on some more complicated environments (NixOS especially).
2020-08-08CMake: allow spaces in CMAKE_INSTALL_PREFIXAhmad Fatoum
We use @CMAKE_INSTALL_PREFIX@ in the pkg-config template, but the way we use it breaks when used with a path containing a space. Use quote to fix this. This now means, we probably can't have quotes, but that's of lesser concern.
2019-01-19CMake: pkg-config: fix usage for RedHat-like systems (#728)Ahmad Fatoum
$prefix/lib isn't in pc_path on Fedora 28: [root@fedora-28 ~]# pkg-config --variable=pc_path pkg-config /usr/lib64/pkgconfig:/usr/share/pkgconfig This has the effect that the pkg-config file is written to the correct location but pkg-config --libs raylib doesn't output the correct library path. This fixes this problem by substituting the directory names into the .pc, same as we do with the CMakeLists.txt since #518. This issue popped up during the automated test of the Perl bindings: https://github.com/athreef/Alien-raylib/issues/3
2018-09-18enjoy!Ray
2018-07-10CMake: Add Libs.private to Libs if installing static onlyAhmad Fatoum
pkg-config --libs --static raylib and pkg-config --libs raylib should give the same result if there is no shared raylib installed.
2018-07-03CMake: Reuse libraries found by glfw CMake configAhmad Fatoum
if (${PLATFORM} MATCHES "Desktop") target_link_libraries(${RAYLIB}_shared glfw ${GLFW_LIBRARIES}) was never true because PLATFORM STREQUAL "PLATFORM_DESKTOP"... This fixes #551 and makes the changes suggested in #552 (commited as 965cc8ab) unnecessary.
2018-02-11pkg-config: Empty Requires.private on shared-only buildAhmad Fatoum
If user doesn't build the static library, `pkg-config --static --libs raylib` should be equivalent to `pkg-config --libs raylib`.
2017-11-24Setup CMake package target and CI auto-deploy tagsAhmad Fatoum
cmake --build . --target package # or make package if make is used can now be used to create binary packages for raylib. AppVeyor and Travis CI are configured to push the artifacts that result from building git tags to the related Github releases page.
2017-11-24Generate and install pkg-config pc fileAhmad Fatoum
After installation, compiling new programs is possible with $ cc game.c `pkg-config --static --libs --cflags raylib` or $ cc game.c `pkg-config --libs --cflags raylib` depending on configuration Also adds following configuration options: - WITH_PIC "Compile static library as position-independent code" - STATIC_RAYLIB "Build raylib as a static library" - MACOS_FATLIB "Build fat library for both i386 and x86_64 on macOS"