mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Removed the need for X11 on OS X
It only causes issues when someone (who doesn't need it) doesn't have it.
This commit is contained in:
		
							parent
							
								
									c0e48432cd
								
							
						
					
					
						commit
						051b162add
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -65,7 +65,10 @@ if (ENABLE_GLFW) | ||||||
| 
 | 
 | ||||||
|         set(GLFW_LIBRARIES glfw3) |         set(GLFW_LIBRARIES glfw3) | ||||||
|     else() |     else() | ||||||
|         find_package(X11 REQUIRED) |         if (NOT APPLE) | ||||||
|  |             find_package(X11 REQUIRED) | ||||||
|  |         endif() | ||||||
|  |          | ||||||
|         find_package(PkgConfig REQUIRED) |         find_package(PkgConfig REQUIRED) | ||||||
|         pkg_search_module(GLFW REQUIRED glfw3) |         pkg_search_module(GLFW REQUIRED glfw3) | ||||||
|     endif() |     endif() | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue