CMakeLists: Add option to disable automatic update support

This commit is contained in:
OatmealDome
2022-03-15 18:40:13 -04:00
parent c9896e1c4b
commit e23df9369d
3 changed files with 12 additions and 2 deletions

View File

@ -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()