diff --git a/UI/CMakeLists.txt b/UI/CMakeLists.txt index 63cc72d65..880869c2c 100644 --- a/UI/CMakeLists.txt +++ b/UI/CMakeLists.txt @@ -13,7 +13,7 @@ add_subdirectory(obs-frontend-api) project(obs) -set(ENABLE_WIN_UPDATER FALSE CACHE BOOL "Enable the windows updater") +set(DISABLE_UPDATE_MODULE TRUE CACHE BOOL "Disables building the update module") if(DEFINED QTDIR${_lib_suffix}) list(APPEND CMAKE_PREFIX_PATH "${QTDIR${_lib_suffix}}") @@ -78,10 +78,6 @@ if(WIN32) crypt32 blake2 ${OBS_JANSSON_IMPORT}) - - if(ENABLE_WIN_UPDATER) - add_definitions(-DENABLE_WIN_UPDATER) - endif() elseif(APPLE) set(obs_PLATFORM_SOURCES platform-osx.mm) diff --git a/UI/win-update/updater/CMakeLists.txt b/UI/win-update/updater/CMakeLists.txt index 7d0e45c9c..65b8a1c80 100644 --- a/UI/win-update/updater/CMakeLists.txt +++ b/UI/win-update/updater/CMakeLists.txt @@ -1,7 +1,3 @@ -if(NOT ENABLE_WIN_UPDATER) - return() -endif() - if(DISABLE_UPDATE_MODULE) return() endif()