UI: Set ENABLE_UI and DISABLE_UI as root CMake variables

Allows for projects other than UI to be able to reference these CMake
variables.
This commit is contained in:
jp9000
2017-12-25 13:06:41 -08:00
parent f06f85fd56
commit 260fb571b8
2 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
option(ENABLE_UI "Enables the OBS user interfaces" ON)
if(DISABLE_UI)
message(STATUS "UI disabled")
return()