mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
CMakeLists: Add option to disable automatic update support
This commit is contained in:
@ -50,6 +50,7 @@ option(ENABLE_TESTS "Enables building the unit tests" ON)
|
||||
option(ENABLE_VULKAN "Enables vulkan video backend" ON)
|
||||
option(USE_DISCORD_PRESENCE "Enables Discord Rich Presence, show the current game on Discord" ON)
|
||||
option(USE_MGBA "Enables GBA controllers emulation using libmgba" ON)
|
||||
option(ENABLE_AUTOUPDATE "Enables support for automatic updates" ON)
|
||||
|
||||
# Maintainers: if you consider blanket disabling this for your users, please
|
||||
# consider the following points:
|
||||
@ -536,6 +537,11 @@ if(ENABLE_ANALYTICS)
|
||||
add_definitions(-DUSE_ANALYTICS=1)
|
||||
endif()
|
||||
|
||||
if(ENABLE_AUTOUPDATE)
|
||||
message(STATUS "Enabling automatic update support")
|
||||
add_definitions(-DAUTOUPDATE=1)
|
||||
endif()
|
||||
|
||||
########################################
|
||||
# Setup include directories (and make sure they are preferred over the Externals)
|
||||
#
|
||||
|
Reference in New Issue
Block a user