Skip to content

Commit

Permalink
chore(cmake): add support for user-specified lv_conf.h path (lvgl#4689)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lion-Yu-Bro authored Oct 23, 2023
1 parent 7f894cf commit 7efcea6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions env_support/cmake/custom.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ install(
FILES_MATCHING
PATTERN "*.h")

install(
FILES "${LV_CONF_PATH}"
DESTINATION "${CMAKE_INSTALL_PREFIX}/${INC_INSTALL_DIR}/../"
RENAME "lv_conf.h"
OPTIONAL)

set_target_properties(
lvgl
PROPERTIES OUTPUT_NAME lvgl
Expand Down

0 comments on commit 7efcea6

Please sign in to comment.