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:
@@ -1,4 +1,3 @@
|
||||
option(ENABLE_UI "Enables the OBS user interfaces" ON)
|
||||
if(DISABLE_UI)
|
||||
message(STATUS "UI disabled")
|
||||
return()
|
||||
|
Reference in New Issue
Block a user