Browse Source

meson: Make summary() respect vulkan headers detection

Fix false positive that caused by summary() checking only for vulkan
library but not headers.
lines
Ivan 1 year ago
committed by Wim Taymans
parent
commit
0a02396995
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      spa/meson.build

+ 1
- 1
spa/meson.build View File

@ -37,8 +37,8 @@ if not get_option('spa-plugins').disabled()
jack_dep = dependency('jack', version : '>= 1.9.10', required: get_option('jack'))
summary({'JACK2': jack_dep.found()}, bool_yn: true, section: 'Backend')
vulkan_dep = dependency('vulkan', disabler : true, version : '>= 1.1.69', required: get_option('vulkan'))
summary({'Vulkan': vulkan_dep.found()}, bool_yn: true, section: 'Misc dependencies')
vulkan_headers = cc.has_header('vulkan/vulkan.h', dependencies : vulkan_dep)
summary({'Vulkan': vulkan_headers}, bool_yn: true, section: 'Misc dependencies')
libcamera_dep = dependency('camera', required: get_option('libcamera'))
summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Camera portal')


Loading…
Cancel
Save