From 620ee357238257e2822e78b791e8c69958ac4f9e Mon Sep 17 00:00:00 2001 From: Shlomo Zippel Date: Tue, 8 Apr 2025 11:53:44 -0700 Subject: [PATCH] allow external USER_C_MODULES from command line --- ports/esp32/esp32_common.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/esp32/esp32_common.cmake b/ports/esp32/esp32_common.cmake index 750d8e5c65c6d..d4f07da7609b1 100644 --- a/ports/esp32/esp32_common.cmake +++ b/ports/esp32/esp32_common.cmake @@ -11,7 +11,7 @@ endif() # Include core source components. include(${MICROPY_DIR}/py/py.cmake) -set(USER_C_MODULES "${MICROPY_DIR}/user_modules/lv_binding_micropython/micropython.cmake") +list(APPEND USER_C_MODULES "${MICROPY_DIR}/user_modules/lv_binding_micropython/micropython.cmake") # CMAKE_BUILD_EARLY_EXPANSION is set during the component-discovery phase of # `idf.py build`, so none of the extmod/usermod (and in reality, most of the