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()