mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 07:37:54 +08:00
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>)
|