mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-30 07:06:19 +08:00
fix(env_support/cmake): If LV_CONF_PATH is set, install the indicated config instead of the default one. (#6675)
This commit is contained in:
@@ -80,8 +80,13 @@ file(GLOB LVGL_PUBLIC_HEADERS
|
|||||||
"${LVGL_ROOT_DIR}/lv_version.h")
|
"${LVGL_ROOT_DIR}/lv_version.h")
|
||||||
|
|
||||||
if(NOT LV_CONF_SKIP)
|
if(NOT LV_CONF_SKIP)
|
||||||
|
if (LV_CONF_PATH)
|
||||||
|
list(APPEND LVGL_PUBLIC_HEADERS
|
||||||
|
${LV_CONF_PATH})
|
||||||
|
else()
|
||||||
list(APPEND LVGL_PUBLIC_HEADERS
|
list(APPEND LVGL_PUBLIC_HEADERS
|
||||||
"${CMAKE_SOURCE_DIR}/lv_conf.h")
|
"${CMAKE_SOURCE_DIR}/lv_conf.h")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if("${LIB_INSTALL_DIR}" STREQUAL "")
|
if("${LIB_INSTALL_DIR}" STREQUAL "")
|
||||||
|
|||||||
Reference in New Issue
Block a user