mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-05 11:08:03 +02:00
cmake fix: install version string
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40905
This commit is contained in:
parent
2f183ac576
commit
70b0ffd501
1 changed files with 11 additions and 0 deletions
|
|
@ -51,6 +51,17 @@ typedef unsigned @DBUS_INT32_TYPE@ dbus_uint32_t;
|
|||
typedef @DBUS_INT16_TYPE@ dbus_int16_t;
|
||||
typedef unsigned @DBUS_INT16_TYPE@ dbus_uint16_t;
|
||||
|
||||
/* This is not really arch-dependent, but it's not worth
|
||||
* creating an additional generated header just for this
|
||||
*/
|
||||
#define DBUS_MAJOR_VERSION @DBUS_MAJOR_VERSION@
|
||||
#define DBUS_MINOR_VERSION @DBUS_MINOR_VERSION@
|
||||
#define DBUS_MICRO_VERSION @DBUS_MICRO_VERSION@
|
||||
|
||||
#define DBUS_VERSION_STRING "@DBUS_VERSION@"
|
||||
|
||||
#define DBUS_VERSION ((@DBUS_MAJOR_VERSION@ << 16) | (@DBUS_MINOR_VERSION@ << 8) | (@DBUS_MICRO_VERSION@))
|
||||
|
||||
DBUS_END_DECLS;
|
||||
|
||||
#endif /* DBUS_ARCH_DEPS_H */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue