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-surfaces \
test-windows \ test-windows \
test-subpicture \ test-subpicture \
$(NULL)
if USE_ENCODERS
noinst_PROGRAMS += \
simple-encoder \ simple-encoder \
$(NULL) $(NULL)
endif
if USE_GLX if USE_GLX
noinst_PROGRAMS += \ noinst_PROGRAMS += \