UI/updater: Add opt to disable building update module

Mostly to reduce build time when the update module doesn't need to be
rebuilt.
This commit is contained in:
jp9000
2017-05-02 03:45:20 -07:00
parent 6fcb77e165
commit 4684294bcd

View File

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