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/lib/j2k_encoder.h | |
| parent | d2350127d51cb6afa2892d888aea6fea06be074d (diff) | |
Only build grok for Ubuntu 22.04.
Diffstat (limited to 'src/lib/j2k_encoder.h')
| -rw-r--r-- | src/lib/j2k_encoder.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/j2k_encoder.h b/src/lib/j2k_encoder.h index a6e190dcf..9d9d85894 100644 --- a/src/lib/j2k_encoder.h +++ b/src/lib/j2k_encoder.h @@ -28,11 +28,13 @@ */ -#include "grok/context.h" #include "cross.h" #include "enum_indexed_vector.h" #include "event_history.h" #include "exception_store.h" +#ifdef DCPOMATIC_GROK +#include "grok/context.h" +#endif #include "j2k_encoder_thread.h" #include "writer.h" #include <boost/optional.hpp> @@ -122,8 +124,10 @@ private: boost::signals2::scoped_connection _server_found_connection; +#ifdef DCPOMATIC_GROK grk_plugin::DcpomaticContext _dcpomatic_context; grk_plugin::GrokContext *_context; +#endif bool _ending = false; }; |
