afmt cmakelists.txt

This commit is contained in:
2022-05-20 08:38:57 +02:00
parent 6814d0cf2b
commit 21e9987636
9 changed files with 18 additions and 44 deletions

View File

@ -1,9 +1,7 @@
target_sources(${TARGET_NAME} PRIVATE
STM32TestTask.cpp
)
target_sources(${TARGET_NAME} PRIVATE STM32TestTask.cpp)
option(STM32_ADD_NETWORKING_CODE "Add networking code requiring lwIP" ON)
if(STM32_ADD_NETWORKING_CODE)
add_subdirectory(networking)
endif()
add_subdirectory(networking)
endif()