mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-10-29 05:40:12 -04:00 
			
		
		
		
	build: remove wayland-scanner fallback
See the Weston discussion [1] for motivation. [1]: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/157
This commit is contained in:
		
							parent
							
								
									ee3640363e
								
							
						
					
					
						commit
						5a178c4a23
					
				
					 1 changed files with 5 additions and 9 deletions
				
			
		|  | @ -1,14 +1,10 @@ | |||
| wl_protocol_dir = wayland_protos.get_variable(pkgconfig: 'pkgdatadir') | ||||
| 
 | ||||
| wayland_scanner_dep = dependency('wayland-scanner', required: false, native: true) | ||||
| if wayland_scanner_dep.found() | ||||
| 	wayland_scanner = find_program( | ||||
| 		wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'), | ||||
| 		native: true, | ||||
| 	) | ||||
| else | ||||
| 	wayland_scanner = find_program('wayland-scanner', native: true) | ||||
| endif | ||||
| wayland_scanner_dep = dependency('wayland-scanner', native: true) | ||||
| wayland_scanner = find_program( | ||||
| 	wayland_scanner_dep.get_variable(pkgconfig: 'wayland_scanner'), | ||||
| 	native: true, | ||||
| ) | ||||
| 
 | ||||
| protocols = { | ||||
| 	# Stable upstream protocols | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon Ser
						Simon Ser