diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-24 12:09:16 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-18 13:46:37 +0200 |
| commit | 014cffeabbf9710c927bd9518b558211298f52e2 (patch) | |
| tree | 4b7e28e402932c7f08769568d3fc751483c2a974 /src/lib/j2k_encoder.h | |
| parent | 5b4ff8ad597ab9b4ca5d5ee3190dce76c9451566 (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; }; |
