hunter_add_package(CppNetlibUri) find_package(CppNetlibUri CONFIG REQUIRED) target_link_libraries(foo network-uri)