1cmake_minimum_required(VERSION 3.5)
2
3if (0)
4if (LV_USE_RLOTTIE)
5
6idf_component_register(SRCS ${SOURCES}
7                    INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/rlottie/inc"
8                    )
9
10set(LOTTIE_MODULE OFF)
11set(LOTTIE_THREAD OFF)
12set(BUILD_SHARED_LIBS OFF)
13option(BUILD_TESTING OFF)
14
15function(install)
16endfunction()
17
18function(export)
19endfunction()
20
21add_subdirectory(rlottie)
22target_link_libraries(${COMPONENT_LIB} INTERFACE rlottie)
23endif()
24endif()