add cmake option DISABLE_UPDATE_CHECKER (#2793)
* add cmake option DISABLE_UPDATE_CHECKER * add cmake option DISABLE_UPDATE_CHECKER to compile out updatechecker * format code use `clang-format -i $(git ls-files "*.cpp" "*.h")` * fallback wrong code format * replace `add_definitions` with `add_compile_definitions`
This commit is contained in:
@@ -68,6 +68,10 @@ option(GENERATE_TS "Regenerate translation source files" OFF)
|
||||
option(USE_EXTERNAL_SINGLEAPPLICATION "Use external QtSingleApplication library" OFF)
|
||||
option(USE_LAUNCHER_ABSOLUTE_PATH "Use absolute path for the desktop launcher" ON)
|
||||
option(USE_WAYLAND_CLIPBOARD "USE KF Gui Wayland Clipboard" OFF)
|
||||
option(DISABLE_UPDATE_CHECKER "Disable check for updates" OFF)
|
||||
if (DISABLE_UPDATE_CHECKER)
|
||||
add_compile_definitions(DISABLE_UPDATE_CHECKER)
|
||||
endif ()
|
||||
|
||||
include(cmake/StandardProjectSettings.cmake)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user