diff options
author | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2015-06-18 13:19:26 +0300 |
---|---|---|
committer | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2015-06-18 13:19:26 +0300 |
commit | 2d64321313e66ac5d78e870ffec83c9658e29107 (patch) | |
tree | c2f2fcf791d4830c6898521b9c1d20f5f990be91 /tests | |
parent | cf9a0225c8c1999d4214b4b814ee2a629c6cde0b (diff) |
build: Don't build simple-encoder test program if there is no VA Encoding support
This will fix the build error against older VA-APIs <= 0.32
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8fb3f95d..3637d922 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -6,8 +6,13 @@ noinst_PROGRAMS = \ test-surfaces \ test-windows \ test-subpicture \ + $(NULL) + +if USE_ENCODERS +noinst_PROGRAMS += \ simple-encoder \ $(NULL) +endif if USE_GLX noinst_PROGRAMS += \ |