Browse Source

UI: Remove ENABLE_WIN_UPDATE cmake variable

jp9000 7 years ago
parent
commit
46f08af5e5
2 changed files with 1 additions and 9 deletions
  1. 1 5
      UI/CMakeLists.txt
  2. 0 4
      UI/win-update/updater/CMakeLists.txt

+ 1 - 5
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)

+ 0 - 4
UI/win-update/updater/CMakeLists.txt

@@ -1,7 +1,3 @@
-if(NOT ENABLE_WIN_UPDATER)
-	return()
-endif()
-
 if(DISABLE_UPDATE_MODULE)
 	return()
 endif()