obsproject / obs-websocket

Remote-control of OBS Studio through WebSocket
GNU General Public License v2.0
3.8k stars 701 forks source link

cmake: Fix condition to disable plugin tests #1173

Closed RytoEX closed 9 months ago

RytoEX commented 9 months ago

Description

The CMake generator expression to enable plugin tests mistakenly used a string literal, which evaluated to 1, which enabled the plugin tests. Use variable notation to correctly test this value.

Motivation and Context

How Has This Been Tested?

Tested OS(s):

Types of changes

Checklist: