2024-09-03 12:29:36 -07:00

5 lines
196 B
Plaintext

nghttp3 provides CMake targets:
find_package(nghttp3 CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:nghttp3::nghttp3>,nghttp3::nghttp3,nghttp3::nghttp3_static>)