diff -r c18d2951e8d7 -r 34da2d2b12d5 main/CMakeLists.txt --- a/main/CMakeLists.txt Tue Sep 26 14:59:06 2023 +0200 +++ b/main/CMakeLists.txt Tue Sep 26 15:10:25 2023 +0200 @@ -1,3 +1,5 @@ -idf_component_register(SRCS config.c task_user.c task_mqtt.c task_ds18b20.c updates.c task_adc.c xutil.c co2meter.c u8g2_esp32_hal.c task_wifi.c +set(srcs config.c task_user.c task_mqtt.c task_ds18b20.c updates.c task_adc.c xutil.c co2meter.c u8g2_esp32_hal.c task_wifi.c) + +idf_component_register(SRCS "${srcs}" INCLUDE_DIRS ".")