diff --git a/examples/esp32/main/CMakeLists.txt b/examples/esp32/main/CMakeLists.txt index 7c3e71dd..ef191df4 100644 --- a/examples/esp32/main/CMakeLists.txt +++ b/examples/esp32/main/CMakeLists.txt @@ -1,5 +1,4 @@ idf_component_register(SRCS "main.c" "wifi.c" - "../../../mongoose.c" - INCLUDE_DIRS "../../..") + "mongoose.c") component_compile_options(-DMG_ENABLE_LINES) diff --git a/examples/esp32/main/mongoose.c b/examples/esp32/main/mongoose.c new file mode 120000 index 00000000..5e522bbc --- /dev/null +++ b/examples/esp32/main/mongoose.c @@ -0,0 +1 @@ +../../../mongoose.c \ No newline at end of file diff --git a/examples/esp32/main/mongoose.h b/examples/esp32/main/mongoose.h new file mode 120000 index 00000000..ee4ac823 --- /dev/null +++ b/examples/esp32/main/mongoose.h @@ -0,0 +1 @@ +../../../mongoose.h \ No newline at end of file