mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	Use the correct linker flag for mingw
This commit is contained in:
		
							parent
							
								
									0daac3020e
								
							
						
					
					
						commit
						f6762f05cd
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -143,7 +143,11 @@ if (APPLE) | |||
| elseif(WIN32) | ||||
|     # compile as a win32 gui application instead of a console application | ||||
|     target_link_libraries(citra-qt PRIVATE Qt5::WinMain) | ||||
|     set_target_properties(citra-qt PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS") | ||||
|     if(MSVC) | ||||
|         set_target_properties(citra-qt PROPERTIES LINK_FLAGS_RELEASE "/SUBSYSTEM:WINDOWS") | ||||
|     elseif(MINGW) | ||||
|         set_target_properties(citra-qt PROPERTIES LINK_FLAGS_RELEASE "-mwindows") | ||||
|     endif() | ||||
| endif() | ||||
| 
 | ||||
| create_target_directory_groups(citra-qt) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue