obsproject / obs-browser

CEF-based OBS Studio browser plugin
GNU General Public License v2.0
777 stars 221 forks source link

Change CMake behavior if CEF is not found #285

Closed tytan652 closed 3 years ago

tytan652 commented 3 years ago

Continuation of this obs-studio PR

Description

CMake will now emit a fatal error if CEF is not found rather than "disabling" obs-browser. Same if X11 is missing

Motivation and Context

Continuation of this obs-studio PR

Many Linux packagers doesn't seem to build OBS with obs-vst and obs-browser, or maybe they don't know about them. So I create this PR, to make the packager really decide to include or not those two.

How Has This Been Tested?

I replace the obs-studio's submodule with a symlink to my local repo without setting CEF_ROOT_DIR

Types of changes

Checklist: