From e23df9369dfcc8e02c1d2b6de39166a5b9dd80db Mon Sep 17 00:00:00 2001 From: OatmealDome Date: Tue, 15 Mar 2022 18:40:13 -0400 Subject: CMakeLists: Add option to disable automatic update support --- Source/Core/UICommon/AutoUpdate.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/Core/UICommon/AutoUpdate.cpp') diff --git a/Source/Core/UICommon/AutoUpdate.cpp b/Source/Core/UICommon/AutoUpdate.cpp index e423b9ec86..d02c2356b3 100644 --- a/Source/Core/UICommon/AutoUpdate.cpp +++ b/Source/Core/UICommon/AutoUpdate.cpp @@ -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() -- cgit v1.2.3