mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	externals: allow user to use system Vulkan headers (#7155)
This commit is contained in:
		
							parent
							
								
									19cc8e626b
								
							
						
					
					
						commit
						6f05dd9d1d
					
				
					 2 changed files with 12 additions and 1 deletions
				
			
		|  | @ -24,6 +24,7 @@ option(USE_SYSTEM_CUBEB "Use the system cubeb (instead of the bundled one)" OFF) | |||
| option(USE_SYSTEM_LODEPNG "Use the system lodepng (instead of the bundled one)" OFF) | ||||
| option(USE_SYSTEM_OPENAL "Use the system OpenAL (instead of the bundled one)" OFF) | ||||
| option(USE_SYSTEM_VMA "Use the system VulkanMemoryAllocator (instead of the bundled one)" OFF) | ||||
| option(USE_SYSTEM_VULKAN_HEADERS "Use the system Vulkan headers (instead of the bundled ones)" OFF) | ||||
| 
 | ||||
| # Qt and MoltenVK are handled separately | ||||
| CMAKE_DEPENDENT_OPTION(DISABLE_SYSTEM_SDL2 "Disable system SDL2" OFF "USE_SYSTEM_LIBS" OFF) | ||||
|  | @ -47,6 +48,7 @@ CMAKE_DEPENDENT_OPTION(DISABLE_SYSTEM_CUBEB "Disable system cubeb" OFF "USE_SYST | |||
| CMAKE_DEPENDENT_OPTION(DISABLE_SYSTEM_LODEPNG "Disable system lodepng" OFF "USE_SYSTEM_LIBS" OFF) | ||||
| CMAKE_DEPENDENT_OPTION(DISABLE_SYSTEM_OPENAL "Disable system OpenAL" OFF "USE_SYSTEM_LIBS" OFF) | ||||
| CMAKE_DEPENDENT_OPTION(DISABLE_SYSTEM_VMA "Disable system VulkanMemoryAllocator" OFF "USE_SYSTEM_LIBS" OFF) | ||||
| CMAKE_DEPENDENT_OPTION(DISABLE_SYSTEM_VULKAN_HEADERS "Disable system Vulkan headers" OFF "USE_SYSTEM_LIBS" OFF) | ||||
| 
 | ||||
| set(LIB_VAR_LIST | ||||
|     SDL2 | ||||
|  | @ -70,6 +72,7 @@ set(LIB_VAR_LIST | |||
|     LODEPNG | ||||
|     OPENAL | ||||
|     VMA | ||||
|     VULKAN_HEADERS | ||||
|     ) | ||||
| 
 | ||||
| # First, check that USE_SYSTEM_XXX is not used with USE_SYSTEM_LIBS | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue