summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/vdpau/meson.build')
-rw-r--r--src/gallium/state_trackers/vdpau/meson.build9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vdpau/meson.build b/src/gallium/state_trackers/vdpau/meson.build
index 9678b79ef6c..28b98ae5369 100644
--- a/src/gallium/state_trackers/vdpau/meson.build
+++ b/src/gallium/state_trackers/vdpau/meson.build
@@ -18,13 +18,20 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+VDPAU_MAJOR = 1
+VDPAU_MINOR = 0
+
libvdpau_st = static_library(
'vdpau_st',
files(
'bitmap.c', 'decode.c', 'device.c', 'ftab.c', 'htab.c', 'mixer.c',
'output.c', 'preemption.c', 'presentation.c', 'query.c', 'surface.c',
),
- c_args : [c_vis_args, '-DVER_MAJOR=1', '-DVER_MINOR=0'],
+ c_args : [
+ c_vis_args,
+ '-DVER_MAJOR=@0@'.format(VDPAU_MAJOR),
+ '-DVER_MINOR=@0@'.format(VDPAU_MINOR),
+ ],
include_directories : [
inc_include, inc_src, inc_util, inc_gallium, inc_gallium_aux,
],