fix build with net_lwip_webserver example

This commit is contained in:
hathach
2023-05-26 15:16:18 +07:00
parent c0ecf8b50f
commit b262164a35
3 changed files with 88 additions and 85 deletions

View File

@@ -34,6 +34,8 @@ function(add_tinyusb TARGET)
)
target_include_directories(${TARGET} PUBLIC
${CMAKE_CURRENT_FUNCTION_LIST_DIR}
# TODO for net driver, should be removed/changed
${CMAKE_CURRENT_FUNCTION_LIST_DIR}/../lib/networking
)
# enable all possible warnings
target_compile_options(${TARGET} PUBLIC