summaryrefslogtreecommitdiffhomepage
path: root/raylib.pc.in
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2018-07-03 20:28:44 +0200
committerAhmad Fatoum <[email protected]>2018-07-03 21:35:27 +0200
commit61747508b0b0ee77b1de40a1c7f0a483c1a07e05 (patch)
tree8c7f3951d762bd0400e9dc99de7a9457d82754df /raylib.pc.in
parent33c830353b2d9f9a0f33e87b27ba36b3c6da6076 (diff)
downloadraylib-61747508b0b0ee77b1de40a1c7f0a483c1a07e05.tar.gz
raylib-61747508b0b0ee77b1de40a1c7f0a483c1a07e05.zip
CMake: Reuse libraries found by glfw CMake config
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.
Diffstat (limited to 'raylib.pc.in')
-rw-r--r--raylib.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/raylib.pc.in b/raylib.pc.in
index d71a5e2c..f72b3dce 100644
--- a/raylib.pc.in
+++ b/raylib.pc.in
@@ -9,5 +9,5 @@ URL: http://github.com/raysan5/raylib
Version: @PROJECT_VERSION@
Libs: -L${libdir} -lraylib
Libs.private: @PKG_CONFIG_LIBS_PRIVATE@
-Requires.private:
+Requires.private: @GLFW_PKG_DEPS@
Cflags: -I${includedir}