From 61747508b0b0ee77b1de40a1c7f0a483c1a07e05 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Tue, 3 Jul 2018 20:28:44 +0200 Subject: 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. --- raylib.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'raylib.pc.in') 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} -- cgit v1.2.3