Skip to content

cmake: Adjust macOS SDK detection#12076

Merged
RytoEX merged 1 commit into
obsproject:release/31.0from
glikely:31.0.0-fix-macos-build
Apr 25, 2025
Merged

cmake: Adjust macOS SDK detection#12076
RytoEX merged 1 commit into
obsproject:release/31.0from
glikely:31.0.0-fix-macos-build

Conversation

@glikely

@glikely glikely commented Apr 23, 2025

Copy link
Copy Markdown
Contributor

Description

This branch fixes macos plugin builds against the 31.0.x obs-studio source tree. The cmake version 4 changes break the way obs-studio detects the version of the macos sdk that is installed. This PR fixes the problem by backporting the fix (8f1bcc1) from mainline obs-studio into the 31.0.x release branch.

More details of this issue can be found in this obs-plugintemplate issue:

obsproject/obs-plugintemplate#146

How Has This Been Tested?

Tested using the github actions for building this source tree, and also tested with a branch of obs-plugintemplate that shows the issue is fixed.

https://github.com/glikely/obs-plugintemplate/actions/runs/14618253470

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • [N/A] My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@RytoEX

RytoEX commented Apr 23, 2025

Copy link
Copy Markdown
Member

While I can merge this, we don't currently have any plans for further 31.0.x tags/releases.

@glikely

glikely commented Apr 23, 2025

Copy link
Copy Markdown
Contributor Author

Thanks. If you do merge, I'd appreciate it. That way at least the tag my fork (glikely/obs-studio) points to a commit in the main repo instead of only my tree, which inspires confidence on anyone looking at the build deps. As it stands, obs-plugintemplate does not currently build and there isn't another workaround.

@WizardCM WizardCM added the kind/bug Categorizes issue or PR as related to a bug. label Apr 24, 2025
@RytoEX
RytoEX merged commit d26a3fd into obsproject:release/31.0 Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants