CMakeLists.txt 326 B

123456789
  1. if("${IDF_VERSION_MAJOR}.${IDF_VERSION_MINOR}" VERSION_GREATER_EQUAL "5.0")
  2. list(APPEND PRIVREQ esp_adc)
  3. else()
  4. list(APPEND PRIVREQ esp_adc_cal)
  5. endif()
  6. idf_component_register(SRC_DIRS "."
  7. PRIV_INCLUDE_DIRS "."
  8. PRIV_REQUIRES unity test_utils button ${PRIVREQ})