-
-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(cmake): Prioritize vendored includes over system-wide #3182
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I didn't know about this option. Could you add it to the other locations where we use include_directories
as well?
Would it be preferable to set https://cmake.org/cmake/help/latest/variable/CMAKE_INCLUDE_DIRECTORIES_BEFORE.html instead? |
No, there's only 4 places this would need to be added, which would prevent all packagers from having to add a new CLI arg to their build. |
OK, I have updated the other locations. FWIW I think it's harmless but unnecessary on the non-SYSTEM includes, since those should not conflict with system-wide includes anyway. |
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3182 +/- ##
======================================
Coverage 9.71% 9.72%
======================================
Files 77 77
Lines 14058 14058
Branches 6453 6453
======================================
+ Hits 1366 1367 +1
Misses 10073 10073
+ Partials 2619 2618 -1
Flags with carried forward coverage won't be shown. Click here to find out more. |
Description
Sunshine will still compile with the vendored headers, even if the system has its own ffmpeg headers installed.
Issues Fixed or Closed
Fixes #3169.
Type of Change
.github/...
)Checklist