mirror of
https://github.com/lvgl/lvgl.git
synced 2026-08-20 22:45:14 +08:00
build(cmake): remove thorvg sources from main lib sources list (#10039)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user