mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-10-29 05:40:12 -04:00 
			
		
		
		
	 ed1924800d
			
		
	
	
		ed1924800d
		
	
	
	
	
		
			
			Allow selecting whether the GLES2 renderer gets enabled. Co-authored-by: Simon Ser <contact@emersion.fr>
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			440 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			440 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
| subdir('wlr')
 | |
| 
 | |
| exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
 | |
| if not features.get('x11-backend')
 | |
| 	exclude_files += 'backend/x11.h'
 | |
| endif
 | |
| if not features.get('xwayland')
 | |
| 	exclude_files += 'xwayland.h'
 | |
| else
 | |
| 	subdir('xwayland')
 | |
| endif
 | |
| if not features.get('gles2-renderer')
 | |
| 	exclude_files += ['render/egl.h', 'render/gles2.h']
 | |
| endif
 | |
| 
 | |
| install_subdir('wlr',
 | |
| 	install_dir: get_option('includedir'),
 | |
| 	exclude_files: exclude_files,
 | |
| )
 |