diff --git a/CMakeLists.txt b/CMakeLists.txt index 3fcb0b8..dce9c2d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,11 +1,5 @@ -# Adafruit Bus IO Library -# https://github.com/adafruit/Adafruit_BusIO -# MIT License - -cmake_minimum_required(VERSION 3.5) - -idf_component_register(SRCS "Adafruit_I2CDevice.cpp" "Adafruit_BusIO_Register.cpp" "Adafruit_SPIDevice.cpp" "Adafruit_GenericDevice.cpp" - INCLUDE_DIRS "." - REQUIRES arduino-esp32) - -project(Adafruit_BusIO) +idf_component_register( + SRC_DIRS "." + INCLUDE_DIRS "." + REQUIRES arduino-esp32 +)