gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
62 stars 50 forks source link

Requires sdl2 rather than sdl for pkgconfig file #171

Open fundawang opened 3 weeks ago

fundawang commented 3 weeks ago

In SDL/CMakeLists.txt, sdl2 was detected but sdl was written in output .pc file. It should be sdl2 instead.

fundawang commented 3 weeks ago

Or, it should be sdl 1.x rather than sdl 2.x when detecting?

gdraheim commented 3 weeks ago

The sdl-example is based on SDL2, so that's a better thing to do.

The interesting point here is that the same problem exists in the Makefile.am code. I am not sure if something has changed when SDL3 was released in 2022, or that the problem went undetected for about ten years since SDL2 was released in 2013.