qt: Added update checker behind CMake option ENABLE_QT_UPDATE_CHECKER

This commit is contained in:
OpenSauce04 2025-03-10 20:27:39 +00:00 committed by PabloMK7
parent 4cbfba8205
commit 2234fa93cb
6 changed files with 91 additions and 0 deletions

View file

@ -68,6 +68,7 @@ option(USE_SYSTEM_SDL2 "Use the system SDL2 lib (instead of the bundled one)" OF
# Set bundled qt as dependent options.
option(ENABLE_QT "Enable the Qt frontend" ON)
option(ENABLE_QT_TRANSLATION "Enable translations for the Qt frontend" OFF)
option(ENABLE_QT_UPDATE_CHECKER "Enable built-in update checker for the Qt frontend" OFF)
CMAKE_DEPENDENT_OPTION(ENABLE_TESTS "Enable generating tests executable" ON "NOT IOS" OFF)
CMAKE_DEPENDENT_OPTION(ENABLE_ROOM "Enable generating dedicated room executable" ON "NOT ANDROID AND NOT IOS" OFF)