mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	build: Fix web service functionality. (#6903)
This commit is contained in:
		
							parent
							
								
									6ddf4b241f
								
							
						
					
					
						commit
						b2092de871
					
				
					 7 changed files with 15 additions and 19 deletions
				
			
		|  | @ -341,6 +341,10 @@ if (USE_DISCORD_PRESENCE) | |||
|     target_compile_definitions(citra-qt PRIVATE -DUSE_DISCORD_PRESENCE) | ||||
| endif() | ||||
| 
 | ||||
| if (ENABLE_WEB_SERVICE) | ||||
|     target_link_libraries(citra-qt PRIVATE web_service) | ||||
| endif() | ||||
| 
 | ||||
| if(UNIX AND NOT APPLE) | ||||
|     install(TARGETS citra-qt RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") | ||||
| endif() | ||||
|  |  | |||
|  | @ -551,7 +551,6 @@ void ConfigureSystem::SetupPerGameUI() { | |||
| } | ||||
| 
 | ||||
| void ConfigureSystem::DownloadFromNUS() { | ||||
| #ifdef ENABLE_WEB_SERVICE | ||||
|     ui->button_start_download->setEnabled(false); | ||||
| 
 | ||||
|     const auto mode = | ||||
|  | @ -590,5 +589,4 @@ void ConfigureSystem::DownloadFromNUS() { | |||
|     } | ||||
| 
 | ||||
|     ui->button_start_download->setEnabled(true); | ||||
| #endif | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue