build(cmake): remove thorvg sources from main lib sources list (#10039)

This commit is contained in:
André Costa
2026-05-04 22:15:37 +02:00
committed by GitHub
parent c9ba438eeb
commit d04ffbcbcb
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -72,6 +72,9 @@ file(GLOB_RECURSE DEMO_SOURCES ${LVGL_ROOT_DIR}/demos/*.c)
file(GLOB_RECURSE THORVG_SOURCES ${LVGL_ROOT_DIR}/src/libs/thorvg/*.cpp
${LVGL_ROOT_DIR}/src/others/vg_lite_tvg/*.cpp)
# Remove the ThorVG sources from the main sources
list(REMOVE_ITEM SOURCES ${THORVG_SOURCES})
# Check for the case where LVGL is distributed with only its source code
if(NOT EXAMPLE_SOURCES AND CONFIG_LV_BUILD_EXAMPLES)
message(STATUS "No Examples found. Disabling Examples build")