1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00
lvgl/CMakeLists.txt

18 lines
472 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.12.4)
2020-10-26 08:05:32 -06:00
if(NOT ESP_PLATFORM)
project(lvgl HOMEPAGE_URL https://github.com/lvgl/lvgl)
endif()
set(LVGL_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR})
2020-10-26 08:05:32 -06:00
if(ESP_PLATFORM)
include(${CMAKE_CURRENT_LIST_DIR}/cmake/esp.cmake)
elseif(ZEPHYR_BASE)
include(${CMAKE_CURRENT_LIST_DIR}/cmake/zephyr.cmake)
elseif(MICROPY_DIR)
include(${CMAKE_CURRENT_LIST_DIR}/cmake/micropython.cmake)
2020-10-26 08:05:32 -06:00
else()
include(${CMAKE_CURRENT_LIST_DIR}/cmake/custom.cmake)
endif()