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.
This commit is contained in:
parent
33c830353b
commit
61747508b0
1 changed files with 12 additions and 26 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in a new issue