This fixes a regression since 1.7.0: session.conf would be invalid when
generated by cmake.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63682
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
set (DBUS_USER )
+# In Autotools this has a different default on QNX, but there seems little
+# point in replicating that here; if you're on an unusual Unix, use Autotools.
+set (default_message_unix_fds 1024)
+
# This won't work on Windows. It's not meant to - the system bus is
# meaningless on Windows anyway.
#
# define DBUS_ENABLE_X11_AUTOLAUNCH 1
#endif
-#define DBUS_DEFAULT_MESSAGE_UNIX_FDS 1024
+#define DBUS_DEFAULT_MESSAGE_UNIX_FDS @default_message_unix_fds@
#define _DBUS_VA_COPY_ASSIGN(a1,a2) { a1 = a2; }