present: Require presentproto 1.2

The PresentOptionSuboptimal support code is not optional (once you've
enabled building Present at all), so require a protocol package version
that defines what we need.

Fixes: xorg/xserver#821
This commit is contained in:
Adam Jackson 2019-06-20 12:15:31 -04:00
commit e39dc0f5b7
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@ libxserver_present = static_library('libxserver_present',
include_directories: inc,
dependencies: [
common_dep,
dependency('presentproto', version: '>= 1.1')
dependency('presentproto', version: '>= 1.2')
],
c_args: '-DHAVE_XORG_CONFIG_H'
)