mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-16 20:57:50 +08:00
5 lines
204 B
Plaintext
5 lines
204 B
Plaintext
|
sdl2-ttf provides CMake targets:
|
||
|
|
||
|
find_package(SDL2_ttf CONFIG REQUIRED)
|
||
|
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:SDL2_ttf::SDL2_ttf>,SDL2_ttf::SDL2_ttf,SDL2_ttf::SDL2_ttf-static>)
|