Also, list the glibmm version in config.h.
#= Dependencies
#-------------------------------------------------------------------------------
#= Dependencies
#-------------------------------------------------------------------------------
+list(APPEND PKGDEPS glibmm-2.4>=2.28.0)
+
list(APPEND PKGDEPS libsigrokcxx>=0.4.0)
if(ENABLE_DECODE)
list(APPEND PKGDEPS libsigrokcxx>=0.4.0)
if(ENABLE_DECODE)
set(PV_DESCRIPTION "A GUI for sigrok")
set(PV_VERSION_STRING "0.4.0")
set(PV_DESCRIPTION "A GUI for sigrok")
set(PV_VERSION_STRING "0.4.0")
+set(PV_GLIBMM_VERSION ${PKGDEPS_glibmm-2.4_VERSION})
+
include(GetGitRevisionDescription)
# Append the revision hash unless we are exactly on a tagged release.
include(GetGitRevisionDescription)
# Append the revision hash unless we are exactly on a tagged release.
/* Platform properties */
#cmakedefine HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS
/* Platform properties */
#cmakedefine HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS
+#define PV_GLIBMM_VERSION "@PV_GLIBMM_VERSION@"
+