CMakeLists.txt 231 B

123456
  1. if(IDF_TARGET STREQUAL "esp32s2")
  2. idf_component_register(SRCS "touch_button_example_main.c"
  3. INCLUDE_DIRS ".")
  4. else()
  5. message(FATAL_ERROR "Touch button example only available on esp32s2 now")
  6. endif()