base: Re-add version CMake variables

Make sure that non-legacy builds have these version variables populated.
This commit is contained in:
Ryan Foster 2023-03-26 19:09:51 -04:00
parent dd248faecb
commit db2c251189

View File

@ -2,6 +2,9 @@ cmake_minimum_required(VERSION 3.16...3.25)
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)
if(NOT ENABLE_WEBSOCKET)
target_disable(obs-websocket)