mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 10:55:57 -04:00

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.
15 lines
346 B
PkgConfig
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@
|