CMake: Add Libs.private to Libs if installing static only
pkg-config --libs --static raylib and pkg-config --libs raylib should give the same result if there is no shared raylib installed.
This commit is contained in:
parent
758a774173
commit
414bb6018b
2 changed files with 11 additions and 7 deletions
|
@ -7,7 +7,7 @@ Name: raylib
|
|||
Description: Simple and easy-to-use library to learn videogames programming
|
||||
URL: http://github.com/raysan5/raylib
|
||||
Version: @PROJECT_VERSION@
|
||||
Libs: -L${libdir} -lraylib
|
||||
Libs: -L${libdir} -lraylib @PKG_CONFIG_LIBS_EXTRA@
|
||||
Libs.private: @PKG_CONFIG_LIBS_PRIVATE@
|
||||
Requires.private: @GLFW_PKG_DEPS@
|
||||
Cflags: -I${includedir}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue