On Fri Jul 12, 2024 at 01:17:59PM GMT, Anthony J. Bentley wrote: > Seen while updating cdogs-sdl: > > CMake Error at src/cdogs/CMakeLists.txt:242 (target_link_libraries): > Target "cdogs" links to: > > SDL2_mixer::SDL2_mixer > > but the target was not found. Possible reasons include: > > * There is a typo in the target name. > * A find_package call is missing for an IMPORTED target. > * An ALIAS target is missing. > > I recognized this error: we've encountered it before with sdl2, sdl2-ttf > and sdl2-image. The fix was to patch the cmake files to include the .so > version in the shared library filename. I've duplicated their patch for > this port as well. > > The other sdl2 ports use autotools, so we can't preemptively apply this > to them. > > ok? >
Yes please!