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>2023-10-18 13:46:37 +0200
commit014cffeabbf9710c927bd9518b558211298f52e2 (patch)
tree4b7e28e402932c7f08769568d3fc751483c2a974 /src/wx
parent5b4ff8ad597ab9b4ca5d5ee3190dce76c9451566 (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 119091af3..bc5b5de4e 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"
@@ -1945,7 +1947,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));