diff --git a/meta-oniro-staging/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb b/meta-oniro-staging/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb
index eb39f45f9fa79c0631a8e3a368a2cd485bac6b5d..2e5da5a2d64431b70960789e050750478d1c7c6f 100644
--- a/meta-oniro-staging/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb
+++ b/meta-oniro-staging/recipes-graphics/lvgl/lv-lib-png_8.0.2.bb
@@ -11,9 +11,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d6fc0df890c5270ef045981b516bb8f2"
 SRC_URI = "git://github.com/lvgl/lv_lib_png;destsuffix=${S};protocol=https;nobranch=1"
 SRCREV = "bf1531afe07c9f861107559e29ab8a2d83e4715a"
 
+# because of lvgl dependency
+REQUIRED_DISTRO_FEATURES = "wayland"
+
 DEPENDS += "lvgl"
 
 inherit cmake
+inherit features_check
 
 TARGET_CFLAGS += "-DLV_CONF_INCLUDE_SIMPLE=1"
 TARGET_CFLAGS += "-I${RECIPE_SYSROOT}/${includedir}/lvgl"