diff --git a/CMakeLists.txt b/CMakeLists.txt index a1040b9..1e2b555 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -169,9 +169,14 @@ file(GLOB InfiniTime_FONTS file(GLOB InfiniTime_ICONS "${InfiniTime_DIR}/src/displayapp/icons/*.c" ) +file(GLOB InfiniTime_WIDGETS + "${InfiniTime_DIR}/src/displayapp/widgets/*.cpp" + "${InfiniTime_DIR}/src/displayapp/widgets/*.h" +) target_sources(infinisim PUBLIC ${InfiniTime_SCREENS}) target_sources(infinisim PUBLIC ${InfiniTime_FONTS}) target_sources(infinisim PUBLIC ${InfiniTime_ICONS}) +target_sources(infinisim PUBLIC ${InfiniTime_WIDGETS}) # add files directly from InfiniTime sources target_include_directories(infinisim PRIVATE "${InfiniTime_DIR}/src")