mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Disable Microprofile on Mingw builds
This fixes a crash when starting games
This commit is contained in:
		
							parent
							
								
									17ce07943d
								
							
						
					
					
						commit
						61687840bc
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -71,6 +71,9 @@ if (NOT MSVC) | ||||||
| 
 | 
 | ||||||
|     if (MINGW) |     if (MINGW) | ||||||
|         add_definitions(-DMINGW_HAS_SECURE_API) |         add_definitions(-DMINGW_HAS_SECURE_API) | ||||||
|  |         # Microprofile causes crashes when launching titles on MinGW | ||||||
|  |         add_definitions(-DMICROPROFILE_ENABLED=0) | ||||||
|  | 
 | ||||||
|         if (MINGW_STATIC_BUILD) |         if (MINGW_STATIC_BUILD) | ||||||
|             add_definitions(-DQT_STATICPLUGIN) |             add_definitions(-DQT_STATICPLUGIN) | ||||||
|             set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static") |             set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static") | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue