diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-01-17 21:05:17 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-01-31 16:47:23 +0100 |
| commit | db15020d516c2d2ea36c10261a22a7da9c4a60ed (patch) | |
| tree | 00472dc6379bf5377ca5799a5bdb16fc8125a715 /test/wscript | |
| parent | ff869661d7632bc40aec17d1d42e31f18bd0c40b (diff) | |
Allow building without MPEG2 transcoding, and so without FFmpeg.
Diffstat (limited to 'test/wscript')
| -rw-r--r-- | test/wscript | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/wscript b/test/wscript index 3eaef516..da0b6172 100644 --- a/test/wscript +++ b/test/wscript @@ -99,8 +99,6 @@ def build(bld): make_digest_test.cc markers_test.cc mca_test.cc - mono_mpeg2_picture_read_test.cc - mono_mpeg2_picture_write_test.cc kdm_test.cc key_test.cc language_tag_test.cc @@ -130,6 +128,12 @@ def build(bld): obj.target = 'tests' obj.install_path = '' + if bld.env.LIBDCP_MPEG2_TRANSCODE: + obj.source += """ + mono_mpeg2_picture_read_test.cc + mono_mpeg2_picture_write_test.cc + """ + obj = bld(features='cxx cxxprogram') obj.name = 'subs_in_out' obj.uselib = uselib |
