summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-09-24 12:09:16 +0200
committerCarl Hetherington <cth@carlh.net>2024-01-28 02:01:57 +0100
commita72355666ed6abbd02bc6b124fddd24f598f89de (patch)
tree2875ac4d9120bf76cb6d09957466e0a5ea51aa5e /src/wx
parentd2350127d51cb6afa2892d888aea6fea06be074d (diff)
Only build grok for Ubuntu 22.04.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/full_config_dialog.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/full_config_dialog.cc b/src/wx/full_config_dialog.cc
index ecee8733e..c24871f39 100644
--- a/src/wx/full_config_dialog.cc
+++ b/src/wx/full_config_dialog.cc
@@ -45,7 +45,9 @@
#include "send_test_email_dialog.h"
#include "server_dialog.h"
#include "static_text.h"
+#ifdef DCPOMATIC_GROK
#include "grok/gpu_config_panel.h"
+#endif
#include "wx_util.h"
#include "lib/config.h"
#include "lib/cross.h"
@@ -1947,7 +1949,9 @@ create_full_config_dialog ()
e->AddPage (new SoundPage (ps, border));
e->AddPage (new DefaultsPage (ps, border));
e->AddPage (new EncodingServersPage(ps, border));
+#ifdef DCPOMATIC_GROK
e->AddPage (new GPUPage (ps, border));
+#endif
e->AddPage (new KeysPage (ps, border));
e->AddPage (new TMSPage (ps, border));
e->AddPage (new EmailPage (ps, border));