mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	meson: Make summary() respect vulkan headers detection
Fix false positive that caused by summary() checking only for vulkan library but not headers.
This commit is contained in:
		
							parent
							
								
									0c14ec769f
								
							
						
					
					
						commit
						0a02396995
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -37,8 +37,8 @@ if not get_option('spa-plugins').disabled()
 | 
				
			||||||
  jack_dep = dependency('jack', version : '>= 1.9.10', required: get_option('jack'))
 | 
					  jack_dep = dependency('jack', version : '>= 1.9.10', required: get_option('jack'))
 | 
				
			||||||
  summary({'JACK2': jack_dep.found()}, bool_yn: true, section: 'Backend')
 | 
					  summary({'JACK2': jack_dep.found()}, bool_yn: true, section: 'Backend')
 | 
				
			||||||
  vulkan_dep = dependency('vulkan', disabler : true, version : '>= 1.1.69', required: get_option('vulkan'))
 | 
					  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)
 | 
					  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'))
 | 
					  libcamera_dep = dependency('camera', required: get_option('libcamera'))
 | 
				
			||||||
  summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Camera portal')
 | 
					  summary({'libcamera': libcamera_dep.found()}, bool_yn: true, section: 'Camera portal')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue