From 3f7844905a23eada5b6d78d7db6f7a3bd3666d01 Mon Sep 17 00:00:00 2001 From: Frantisek Hrbata Date: Fri, 7 Nov 2025 08:59:59 +0100 Subject: [PATCH] fix(esp_hal_jpeg): initialize the includes variable The cmakev2 build system may evaluate components recursively and all components has to make sure all their variables are properly initialized. Fixes: a7115b6b3602 ("refactor(jpeg): Split hal layer for jpeg") Signed-off-by: Frantisek Hrbata --- components/esp_hal_jpeg/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_hal_jpeg/CMakeLists.txt b/components/esp_hal_jpeg/CMakeLists.txt index acfc9a39d6..f3c5ccc4bb 100644 --- a/components/esp_hal_jpeg/CMakeLists.txt +++ b/components/esp_hal_jpeg/CMakeLists.txt @@ -3,6 +3,8 @@ if(${target} STREQUAL "linux") return() # This component is not supported by the POSIX/Linux simulator endif() +set(includes) + if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/${target}/include") list(APPEND includes "${target}/include") endif()