mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	CMakeLists: Disable architecture checks with -DENABLE_GENERIC=1
This commit is contained in:
		
							parent
							
								
									a66e4585a0
								
							
						
					
					
						commit
						6773546d5c
					
				
					 1 changed files with 10 additions and 8 deletions
				
			
		|  | @ -65,6 +65,7 @@ function(detect_architecture symbol arch) | |||
|     endif() | ||||
| endfunction() | ||||
| 
 | ||||
| if (NOT ENABLE_GENERIC) | ||||
|     if (MSVC) | ||||
|         detect_architecture("_M_AMD64" x86_64) | ||||
|         detect_architecture("_M_IX86" x86) | ||||
|  | @ -74,6 +75,7 @@ else() | |||
|         detect_architecture("__i386__" x86) | ||||
|         detect_architecture("__arm__" ARM) | ||||
|     endif() | ||||
| endif() | ||||
| if (NOT DEFINED ARCHITECTURE) | ||||
|     set(ARCHITECTURE "GENERIC") | ||||
|     set(ARCHITECTURE_GENERIC 1) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue