diff --git a/demos/smartwatch/lv_demo_smartwatch.h b/demos/smartwatch/lv_demo_smartwatch.h index d1008ea4aa..331c09e562 100644 --- a/demos/smartwatch/lv_demo_smartwatch.h +++ b/demos/smartwatch/lv_demo_smartwatch.h @@ -19,6 +19,10 @@ extern "C" #if LV_USE_DEMO_SMARTWATCH +#if LV_USE_LOTTIE == 0 +#error "lv_demo_smartwatch requires LV_USE_LOTTIE" +#endif + /********************* * DEFINES *********************/