hunter_add_package(jsoncpp) find_package(jsoncpp CONFIG REQUIRED) target_link_libraries(... jsoncpp_lib_static)