cmake HAS_GETADDRINFO examples

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

check_function_exists("getaddrinfo" HAS_GETADDRINFO)

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

add_definitions(-DHAS_GETADDRINFO=1)

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

check_function_exists(getaddrinfo HAS_GETADDRINFO)

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 :11

check_function_exists("getaddrinfo" HAS_GETADDRINFO)

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

add_definitions(-DHAS_GETADDRINFO=1)

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

check_function_exists("getaddrinfo" HAS_GETADDRINFO)

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

add_definitions(-DHAS_GETADDRINFO=1)

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

check_function_exists("getaddrinfo" HAS_GETADDRINFO)

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

add_definitions(-DHAS_GETADDRINFO=1)