mirror of git://sigrok.org/pulseview
build: Add missing check for glibmm.
Also, list the glibmm version in config.h.
This commit is contained in:
parent
6579ca9227
commit
d93ac5e877
|
@ -55,6 +55,8 @@ endif()
|
|||
#= Dependencies
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
list(APPEND PKGDEPS glibmm-2.4>=2.28.0)
|
||||
|
||||
list(APPEND PKGDEPS libsigrokcxx>=0.4.0)
|
||||
|
||||
if(ENABLE_DECODE)
|
||||
|
@ -153,6 +155,8 @@ set(PV_TITLE PulseView)
|
|||
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.
|
||||
|
|
|
@ -35,4 +35,6 @@
|
|||
/* Platform properties */
|
||||
#cmakedefine HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS
|
||||
|
||||
#define PV_GLIBMM_VERSION "@PV_GLIBMM_VERSION@"
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue