mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	build: use get_variable instead of get_pkgconfig_variable
This fixes the following warning:
    WARNING: Project targeting '>=0.56.0' but tried to use feature deprecated since '0.56.0': Dependency.get_pkgconfig_variable. use Dependency.get_variable(pkgconfig : ...) instead
			
			
This commit is contained in:
		
							parent
							
								
									6721444114
								
							
						
					
					
						commit
						55aaeb25c5
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
have_listenfd = false
 | 
			
		||||
if xwayland.found()
 | 
			
		||||
	xwayland_path = xwayland.get_pkgconfig_variable('xwayland')
 | 
			
		||||
	have_listenfd = xwayland.get_pkgconfig_variable('have_listenfd') == 'true'
 | 
			
		||||
	xwayland_path = xwayland.get_variable(pkgconfig: 'xwayland')
 | 
			
		||||
	have_listenfd = xwayland.get_variable(pkgconfig: 'have_listenfd') == 'true'
 | 
			
		||||
else
 | 
			
		||||
	xwayland_path = xwayland_prog.full_path()
 | 
			
		||||
endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue