mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
base: Add ENABLE_WEBSOCKET CMake option
This commit is contained in:
parent
59e7e3a307
commit
eba6c4c6f3
@ -1,7 +1,9 @@
|
||||
project(obs-websocket VERSION 5.0.1)
|
||||
set(OBS_WEBSOCKET_RPC_VERSION 1)
|
||||
|
||||
if(NOT ENABLE_UI)
|
||||
option(ENABLE_WEBSOCKET "Enable building OBS with websocket plugin" ON)
|
||||
|
||||
if(NOT ENABLE_WEBSOCKET OR NOT ENABLE_UI)
|
||||
message(STATUS "OBS: DISABLED obs-websocket")
|
||||
return()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user