Skip to content

Commit

Permalink
Add ESP-IDF component
Browse files Browse the repository at this point in the history
  • Loading branch information
higaski committed Jul 9, 2023
1 parent 2fed646 commit 1b601b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1b601b8

Please sign in to comment.