Update CMakeLists.txt

Fix compile error: undefined reference to `u8g2_DrawButtonUTF8`
This commit is contained in:
Meysam 2022-11-22 23:56:54 +03:30 committed by GitHub
parent 248c0455c8
commit b0f27c6a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,8 @@ set(COMPONENT_SRCS "csrc/u8x8_setup.c"
"csrc/u8x8_u16toa.c"
"csrc/u8x8_d_a2printer.c"
"csrc/u8x8_d_st7565.c"
"csrc/u8x8_capture.c")
"csrc/u8x8_capture.c"
"csrc/u8g2_button.c")
if(COMMAND register_component)
set(COMPONENT_NAME ".")