diff --git a/UI/win-update/updater/CMakeLists.txt b/UI/win-update/updater/CMakeLists.txt index e158475cd..7d0e45c9c 100644 --- a/UI/win-update/updater/CMakeLists.txt +++ b/UI/win-update/updater/CMakeLists.txt @@ -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()