Skip to content

Commit b51d854

Browse files
authored
fix build error (tuya#120)
1 parent 002c8ac commit b51d854

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

boards/ESP32/common/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set(BOARD_SRC "")
2525
set(BOARD_INC "${COMMON_PATH}")
2626

2727
if (CONFIG_ENABLE_DISPLAY)
28-
file(append BOARD_SRC
28+
list(APPEND BOARD_SRC
2929
"${FONT_SRCS}"
3030
"${IMAGE_SRCS}"
3131
"${UI_SRCS}"
@@ -34,7 +34,7 @@ if (CONFIG_ENABLE_DISPLAY)
3434
"${IO_EXPANDER_SRCS}"
3535
)
3636

37-
file(append BOARD_INC
37+
list(APPEND BOARD_INC
3838
"${COMMON_PATH}/display"
3939
"${COMMON_PATH}/display/font"
4040
"${COMMON_PATH}/display/ui"
@@ -44,11 +44,11 @@ if (CONFIG_ENABLE_DISPLAY)
4444
endif()
4545

4646
if (CONFIG_ENABLE_AUDIO)
47-
file(append BOARD_SRC
47+
list(APPEND BOARD_SRC
4848
"${AUDIO_SRCS}"
4949
)
5050

51-
file(append BOARD_INC
51+
list(APPEND BOARD_INC
5252
"${COMMON_PATH}/audio"
5353
)
5454
endif()

0 commit comments

Comments
 (0)