mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
base: Re-add version CMake variables
Make sure that non-legacy builds have these version variables populated.
This commit is contained in:
parent
dd248faecb
commit
db2c251189
@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.16...3.25)
|
|||||||
|
|
||||||
legacy_check()
|
legacy_check()
|
||||||
|
|
||||||
|
set(obs-websocket_VERSION 5.1.0)
|
||||||
|
set(OBS_WEBSOCKET_RPC_VERSION 1)
|
||||||
|
|
||||||
option(ENABLE_WEBSOCKET "Enable building OBS with websocket plugin" ON)
|
option(ENABLE_WEBSOCKET "Enable building OBS with websocket plugin" ON)
|
||||||
if(NOT ENABLE_WEBSOCKET)
|
if(NOT ENABLE_WEBSOCKET)
|
||||||
target_disable(obs-websocket)
|
target_disable(obs-websocket)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user