# ANDROID_IFADDRS_FOUND
# ANDROID_IFADDRS_INCLUDE_DIR
# ANDROID_IFADDRS_SOURCE_DIR

find_path(ANDROID_IFADDRS_INCLUDE_DIR NAMES ifaddrs.h NO_CMAKE_FIND_ROOT_PATH)
find_path(ANDROID_IFADDRS_SOURCE_DIR NAMES ifaddrs.c NO_CMAKE_FIND_ROOT_PATH)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(android-ifaddrs DEFAULT_MSG ANDROID_IFADDRS_INCLUDE_DIR ANDROID_IFADDRS_SOURCE_DIR)

mark_as_advanced(ANDROID_IFADDRS_SOURCE_DIR ANDROID_IFADDRS_INCLUDE_DIR)

