mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 11:49:05 +08:00
39b028f607
* [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.
5 lines
220 B
Plaintext
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>)
|