build: Fix web service functionality. (#6903)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user