vcpkg/ports/nghttp3/usage

5 lines
196 B
Plaintext
Raw Permalink Normal View History

2024-09-04 03:29:36 +08:00
nghttp3 provides CMake targets:
find_package(nghttp3 CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:nghttp3::nghttp3>,nghttp3::nghttp3,nghttp3::nghttp3_static>)