From ce5646b3548ca446d1d97fb6b8f8b83c6bdb1340 Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Wed, 24 Sep 2025 20:21:47 +0200 Subject: [PATCH] fix(esp_hal_i2c/cmake): fix the usage of the uninitialized variable The `includes` list variable is used without initialization. Initialize it explicitly. Signed-off-by: Frantisek Hrbata --- components/esp_hal_i2c/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esp_hal_i2c/CMakeLists.txt b/components/esp_hal_i2c/CMakeLists.txt index 60d93fe8dc..1c02433b16 100644 --- a/components/esp_hal_i2c/CMakeLists.txt +++ b/components/esp_hal_i2c/CMakeLists.txt @@ -1,5 +1,6 @@ idf_build_get_property(target IDF_TARGET) +set(includes) list(APPEND includes "${target}/include") list(APPEND includes "include")