Pierre Wendling 39b028f607
[sdl2-image] Bump to 2.6.2. (#27627)
* [sdl2-image] Update to 2.6.2.

* [sdl2-image] Update baseline and version history.

* [sdl2pp] Update sdl2-image target name.

* [sdl2pp] Update baseline and version history.

* [sdl2-image] Fix .pc file generation.

* [sdl2-image] Visually align features in portfile.

* [sdl2-image] Shorten patch to the strict minimum.
2022-11-08 14:44:33 -08:00

5 lines
220 B
Plaintext

sdl2-image provides CMake targets:
find_package(SDL2_image CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SDL2_image::SDL2_image>,SDL2_image::SDL2_image,SDL2_image::SDL2_image-static>)