diff --git a/CMakeLists.txt b/CMakeLists.txt index e4a2d7b..6a5c03d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,11 @@ cmake_minimum_required(VERSION 3.25 FATAL_ERROR) include(FetchContent) +if(ESP_PLATFORM) + idf_component_register(SRCS "" INCLUDE_DIRS include REQUIRES driver) + target_link_libraries(${COMPONENT_LIB} PUBLIC MDU) +endif() + FetchContent_Declare( CMakeModules GIT_REPOSITORY https://github.com/ZIMO-Elektronik/CMakeModules