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
This commit is contained in:
Sreerenj Balachandran 2015-06-18 13:19:26 +03:00
parent cf9a0225c8
commit 2d64321313

View file

@ -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 += \