cmake HAS_GETNAMEINFO examples

cxong/cdogs-sdl src/cdogs/enet/CMakeLists.txt :13

check_function_exists("getnameinfo" HAS_GETNAMEINFO)

cxong/cdogs-sdl src/cdogs/enet/CMakeLists.txt :36

add_definitions(-DHAS_GETNAMEINFO=1)

ornladios/ADIOS2 thirdparty/enet/enet/CMakeLists.txt :77

check_function_exists(getnameinfo HAS_GETNAMEINFO)

ornladios/ADIOS2 thirdparty/enet/enet/CMakeLists.txt :115

target_compile_definitions(enet PRIVATE
  $<$<BOOL:${HAS_GETADDRINFO}>:HAS_GETADDRINFO>
  $<$<BOOL:${HAS_GETNAMEINFO}>:HAS_GETNAMEINFO>
  $<$<BOOL:${HAS_GETHOSTBYADDR_R}>:HAS_GETHOSTBYADDR_R>
  $<$<BOOL:${HAS_GETHOSTBYNAME_R}>:HAS_GETHOSTBYNAME_R>
  $<$<BOOL:${HAS_POLL}>:HAS_POLL>
  $<$<BOOL:${HAS_FCNTL}>:HAS_FCNTL>
  $<$<BOOL:${HAS_INET_PTON}>:HAS_INET_PTON>
  $<$<BOOL:${HAS_INET_NTOP}>:HAS_INET_NTOP>
  $<$<BOOL:${HAS_MSGHDR_FLAGS}>:HAS_MSGHDR_FLAGS>
  $<$<BOOL:${HAS_SOCKLEN_T}>:HAS_SOCKLEN_T>
)

supertuxkart/stk-code lib/enet/CMakeLists.txt :12

check_function_exists("getnameinfo" HAS_GETNAMEINFO)

supertuxkart/stk-code lib/enet/CMakeLists.txt :43

add_definitions(-DHAS_GETNAMEINFO=1)

Tinob/Ishiiruka Externals/enet/CMakeLists.txt :17

check_function_exists("getnameinfo" HAS_GETNAMEINFO)

Tinob/Ishiiruka Externals/enet/CMakeLists.txt :38

add_definitions(-DHAS_GETNAMEINFO=1)

meemknight/ourCraft thirdparty/enet-1.3.18/CMakeLists.txt :12

check_function_exists("getnameinfo" HAS_GETNAMEINFO)

meemknight/ourCraft thirdparty/enet-1.3.18/CMakeLists.txt :34

add_definitions(-DHAS_GETNAMEINFO=1)