obsproject / obs-browser

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

Check for CEF_ROOT_DIR environment variable #352

Closed cpyarger closed 2 years ago

cpyarger commented 2 years ago

Description

Adds a check for the CEF_ROOT_DIR environment variable, and if found uses it

Motivation and Context

Eases workload for local development

How Has This Been Tested?

Windows 10, Set Environment variable, CMake sees and uses it properly

Types of changes

Checklist:

RytoEX commented 2 years ago

This will likely conflict with #290, and I'm not sure we should continue using un-namespaced/un-prefixed environment variables.

jp9000 commented 2 years ago

Going to close this for now because I'm not sure if we want to rely on environment variables anymore, plus we're reworking our CMake anyway. If there's a good argument for it I might consider it, although preferably after we merge the CMake overhaul.