CMakeLists.txt 420 B

1234567891011121314
  1. idf_build_get_property(target IDF_TARGET)
  2. if(NOT "${target}" STREQUAL "esp32")
  3. return()
  4. endif()
  5. if(NOT BOOTLOADER_BUILD)
  6. # [refactor-todo] propagate these requirements for compatibility
  7. # remove in the future
  8. set(legacy_reqs driver efuse soc)
  9. endif()
  10. idf_component_register(INCLUDE_DIRS include
  11. REQUIRES xtensa "${legacy_reqs}"
  12. REQUIRED_IDF_TARGETS esp32)