mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
5e18e5403b
CMAKE_INSTALL_LIBDIR is an absolute path on Nix (which is a valid thing to do). In such a case two absolute paths would get appended resulting in a nonsense path that broke pkg-config support.
16 lines
517 B
PkgConfig
16 lines
517 B
PkgConfig
prefix=@CMAKE_INSTALL_PREFIX@
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/@SFML_RELATIVE_INSTALL_LIBDIR@
|
|
includedir=${prefix}/include
|
|
|
|
Name: SFML-graphics
|
|
Description: The Simple and Fast Multimedia Library, graphics module.
|
|
URL: http://www.sfml-dev.org
|
|
Version: @VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@
|
|
Requires: sfml-window
|
|
Requires.private: sfml-system, freetype2
|
|
Libs: -L${libdir} -lsfml-graphics
|
|
# gl may not be in pkg-config
|
|
Libs.private: @OPENGL_gl_LIBRARY@ @OPENGL_glu_LIBRARY@
|
|
Cflags: -I${includedir}
|