libSDL2pp/sdl2pp.pc.in
Dmitry Marakasov b20b256d0a Add used SDL libraries into pkgconfig file
As SDL2pp doesn't replace SDL2 and is designed to be used with plain
SDL2 code, consumers which use SDL2pp with pkgconfig will almost always
be forced to include both SDL2pp and SDL2 includes and libraries. This
seems inconvenient, so add SDL2 libraries to SDL2pp pkgconfig file. This
also improves consistency with the fact that SDL2 includes are
already included in sdl2pp.pc.
2015-01-19 01:05:11 +03:00

15 lines
346 B
PkgConfig

# libSDL2pp pkg-config source file
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: sdl2pp
Description: C++11 bindings/wrappers for SDL2.
Version: @SDL2PP_VERSION@
Requires:
Conflicts:
Libs: -L${libdir} -lSDL2pp@SDL2_PKGCONFIG_LIBS@
Cflags: -I${includedir}@SDL2_PKGCONFIG_CFLAGS@