RESOLVED FIXED 275321
[CMake] Allow using a system-provided libsysprof-capture package
https://bugs.webkit.org/show_bug.cgi?id=275321
Summary [CMake] Allow using a system-provided libsysprof-capture package
Adrian Perez
Reported 2024-06-10 10:56:25 PDT
The patch for bug #275203 imported a copy of the libsysprof-capture library, but some (although not all) Linux distributions provide a package for it. It would be friendlier towards packagers to allow opting out of using the bundled copy. This will need adding a new CMake find-module for the “sysprof-capture-4” pkg-config module and using that instead depending on the value of a CMake option. As long as the find-module defines a SysProfCapture::SysProfCapture target (as does the bundled copy) then this should imply almost no changes to the existing CMake files.
Attachments
Adrian Perez
Comment 1 2024-06-11 02:13:07 PDT
EWS
Comment 2 2024-08-16 01:45:41 PDT
Committed 282340@main (9cdef20e38c0): <https://commits.webkit.org/282340@main> Reviewed commits have been landed. Closing PR #29707 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-08-16 01:46:13 PDT
Note You need to log in before you can comment on or make changes to this bug.