CMakeLists.txt 356 B

123456789
  1. idf_build_get_property(target IDF_TARGET)
  2. if(${target} STREQUAL "linux")
  3. idf_component_register(INCLUDE_DIRS include
  4. SRCS linux/tapio.c linux_connect.c lwip/tapif.c
  5. PRIV_REQUIRES esp_netif lwip)
  6. else()
  7. message(FATAL_ERROR "This component is currently only supported for linux target")
  8. endif()