mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
CMakeLists: Add option to disable automatic update support
This commit is contained in:
@ -23,10 +23,10 @@ if (APPLE OR WIN32)
|
||||
add_subdirectory(UpdaterCommon)
|
||||
endif()
|
||||
|
||||
if (APPLE)
|
||||
if (APPLE AND ENABLE_AUTOUPDATE)
|
||||
add_subdirectory(MacUpdater)
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
if (WIN32 AND ENABLE_AUTOUPDATE)
|
||||
add_subdirectory(WinUpdater)
|
||||
endif()
|
||||
|
@ -128,11 +128,15 @@ std::string GenerateChangelog(const picojson::array& versions)
|
||||
|
||||
bool AutoUpdateChecker::SystemSupportsAutoUpdates()
|
||||
{
|
||||
#if defined AUTOUPDATE
|
||||
#if defined _WIN32 || defined __APPLE__
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static std::string GetPlatformID()
|
||||
|
Reference in New Issue
Block a user