Uh oh!
There was an error while loading. Please reload this page.
build(cmake): Prioritize vendored includes over system-wide - #3182
Conversation
ReenigneArcher
left a comment
There was a problem hiding this comment.
Nice, I didn't know about this option. Could you add it to the other locations where we use include_directories as well?
Uh oh!
There was an error while loading. Please reload this page.
jmou
commented
Sep 14, 2024
Would it be preferable to set https://cmake.org/cmake/help/latest/variable/CMAKE_INCLUDE_DIRECTORIES_BEFORE.html instead? |
ReenigneArcher
commented
Sep 14, 2024
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. |
jmou
commented
Sep 16, 2024
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. |
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