mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 19:20:51 +08:00
7ca2798c46
* [sdl2-net] Update to 2.2.0. * [sdl2-net] Update homepage and license. * [sdl2-net] Replace deprecated functions. Co-authored-by: Billy O'Neal <bion@microsoft.com>
5 lines
204 B
Plaintext
5 lines
204 B
Plaintext
sdl2-net provides CMake targets:
|
|
|
|
find_package(SDL2_net CONFIG REQUIRED)
|
|
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SDL2_net::SDL2_net>,SDL2_net::SDL2_net,SDL2_net::SDL2_net-static>)
|