cmake: Fix CEF minimum version #458
No reviewers
Labels
No labels
area/accessibility
area/dependency
Confirmed
Crash Report
Delayed
Design Issue
Duplicate
Feedback required
Good first issue
kind/bug
kind/cleanup
kind/enhancement
platform/linux
platform/macos
platform/windows
priority/high
Question
Request for Comments
Seeking Other Contributors
Seeking Testers
Won't Fix / By Design
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-obsproject/obs-browser!458
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-cef-minimum-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Apparently, the find_package signature is incorrect. The [version] component must come before the [REQUIRED] component. I mistakenly placed them in the reverse order when originally adding the minimum version.
https://cmake.org/cmake/help/v3.28/command/find_package.html#basic-signature
Motivation and Context
Noticed this while reviewing another PR. Want to fix my past mistakes.
How Has This Been Tested?
Tested locally on Windows 11.
Before:
After:
Types of changes
Checklist:
Does the module even compile with a Chromium 95 build?
Because this instruction says it does, but if that wasn't the case then it's not just the order of arguments that is wrong.
I have no reason to believe it wouldn't build, since we still have the ifdefs in place. I haven't tried yet though.
I wouldn't have expected it to either, but if we use a version guard, it should also use the correct version and not allow a solution/project be generated when a severely outdated CEF version is provided.
I used a double negative. To clarify, I would expect it to build, because we still have ifdefs in place down to that version.
Yes, currently OBS is supposed to still build with Chromium 95 if the user chooses to provide the necessary CEF build.
If we successfully release with Chromium 127, the intent is to drop Chromium 95 and below in favour of 103 & 127.
I have verified current master does build with 95.