af-main & af-binder: Set version from AGLVERSION
[AGL/meta-agl.git] / meta-app-framework / recipes-core / af-binder / af-binder_git.inc
@@ -15,3 +15,8 @@ PV = "${AGL_BRANCH}+git${SRCPV}"
 S = "${WORKDIR}/git"
 
 CFLAGS_append_agl-devel = " -DAGL_DEVEL"
+
+EXTRA_OECMAKE_append = "\
+       -DAGLVERSION=${AGLVERSION} \
+"
+