obsproject / obs-websocket

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

base: Fix generated header inclusion #1116

Closed tytan652 closed 1 year ago

tytan652 commented 1 year ago

Description

Fix generated header inclusion that is actually broken on CMake 3.0 which break macOS build.

To fix it the right way, changes to CMake 2.0 and #includes should be done.

Motivation and Context

Fix macOS CIs

How Has This Been Tested?

Tested OS(s): ArchLinux (CMake 2.0)

macOS CIs does build on my OBS Studio fork. Run: https://github.com/tytan652/obs-studio/actions/runs/4531877056

Types of changes

Checklist: