aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-09-19 10:29:24 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2021-09-19 10:29:24 +0300
commitbe627c1e15e956d99190e055c9a09ab5445b8f7e (patch)
tree383d36e0c72140a4f9367832d6bf0ed5aeb5a386
parentFix segfault in release build (diff)
downloadsmolbote-be627c1e15e956d99190e055c9a09ab5445b8f7e.tar.xz
Fix compile error with meson unstable-kconfig module
Module renamed to keyval and now stable
-rw-r--r--meson.build4
-rw-r--r--src/session/sessiondialog.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 56e50e7..1351796 100644
--- a/meson.build
+++ b/meson.build
@@ -2,10 +2,10 @@ project('smolbote', ['cpp'],
version: '0.1.0',
default_options: ['cpp_std=c++2a', 'warning_level=3'],
license: 'GPL3',
- meson_version: '>=0.52.0'
+ meson_version: '>=0.55.0'
)
-kconfig = import('unstable-kconfig')
+kconfig = import('keyval')
kconf = kconfig.load(host_machine.system() + '/.config')
cdata = configuration_data(kconf)
diff --git a/src/session/sessiondialog.h b/src/session/sessiondialog.h
index 0a04940..fc31aa4 100644
--- a/src/session/sessiondialog.h
+++ b/src/session/sessiondialog.h
@@ -11,6 +11,7 @@
#include "session.hpp"
#include <QDialog>
+#include <optional>
namespace Ui
{