diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/meson.build | 2 | ||||
-rw-r--r-- | sys/xvimage/meson.build | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/meson.build b/sys/meson.build index da6dc2400..7637c1c8e 100644 --- a/sys/meson.build +++ b/sys/meson.build @@ -1,7 +1,7 @@ if x11_dep.found() # XShm is only used by ximage and xvimage # FIXME: Need to check for XShmAttach inside libXext - xshm_dep = dependency('xext', required : false) + xshm_dep = dependency('xext', required : get_option('xshm')) core_conf.set('HAVE_XSHM', xshm_dep.found()) subdir('ximage') diff --git a/sys/xvimage/meson.build b/sys/xvimage/meson.build index 216c0ecf8..2f4864575 100644 --- a/sys/xvimage/meson.build +++ b/sys/xvimage/meson.build @@ -6,7 +6,7 @@ xvimage_sources = [ 'xvimagesink.c', ] -xvideo_dep = dependency('xv', required : false) +xvideo_dep = dependency('xv', required : get_option('xvideo')) core_conf.set('HAVE_XVIDEO', x11_dep.found() and xvideo_dep.found()) if xvideo_dep.found() |