obsproject / obs-browser

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

Update CMakeLists for modern builds #290

Closed PatTheMav closed 2 years ago

PatTheMav commented 3 years ago

Description

Updates CMake build script to coincide with changes in https://github.com/obsproject/obs-studio/pull/4560. Header definitions have been changed in source files appropriately.

Motivation and Context

Updates CMake build scripts last updated 7 years ago and improves build situation on macOS.

How Has This Been Tested?

Types of changes

Checklist:

tytan652 commented 3 years ago

I think you forgot to change the formatcode.sh of this repo

PatTheMav commented 3 years ago

Good catch - see my comment here: https://github.com/obsproject/obs-vst/pull/85#issuecomment-856917956

PatTheMav commented 3 years ago

@dodgepong As this is a companion PR to https://github.com/obsproject/obs-studio/pull/4560, should make sense to add it this PR and https://github.com/obsproject/obs-vst/pull/85 to the OBS 28 project as well.