cmake HAVE_LIBRESOLV examples

p4lang/open-p4studio pkgsrc/bf-diags/third-party/libcrafter/CMakeLists.txt :9

add_definitions(-DHAVE_LIBRESOLV)