diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-24 12:09:16 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:01:57 +0100 |
| commit | a72355666ed6abbd02bc6b124fddd24f598f89de (patch) | |
| tree | 2875ac4d9120bf76cb6d09957466e0a5ea51aa5e /src/tools/dcpomatic_batch.cc | |
| parent | d2350127d51cb6afa2892d888aea6fea06be074d (diff) | |
Only build grok for Ubuntu 22.04.
Diffstat (limited to 'src/tools/dcpomatic_batch.cc')
| -rw-r--r-- | src/tools/dcpomatic_batch.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_batch.cc b/src/tools/dcpomatic_batch.cc index 66262f2eb..273078b89 100644 --- a/src/tools/dcpomatic_batch.cc +++ b/src/tools/dcpomatic_batch.cc @@ -32,7 +32,9 @@ #include "lib/config.h" #include "lib/dcpomatic_socket.h" #include "lib/film.h" +#ifdef DCPOMATIC_GROK #include "lib/grok/context.h" +#endif #include "lib/job.h" #include "lib/job_manager.h" #include "lib/make_dcp.h" @@ -500,7 +502,9 @@ class App : public wxApp } } +#ifdef DCPOMATIC_GROK grk_plugin::setMessengerLogger(new grk_plugin::GrokLogger("[GROK] ")); +#endif return true; } |
