UI/updater: Add opt to disable building update module
Mostly to reduce build time when the update module doesn't need to be rebuilt.master
parent
6fcb77e165
commit
4684294bcd
|
@ -2,6 +2,10 @@ if(NOT ENABLE_WIN_UPDATER)
|
|||
return()
|
||||
endif()
|
||||
|
||||
if(DISABLE_UPDATE_MODULE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
if(NOT DEFINED STATIC_ZLIB_PATH OR "${STATIC_ZLIB_PATH}" STREQUAL "")
|
||||
message(STATUS "STATIC_ZLIB_PATH not set, windows updater disabled")
|
||||
return()
|
||||
|
|
Loading…
Reference in New Issue