Closed chenln1124 closed 1 year ago
LWS already contains code in CMake to check libcap: https://github.com/warmcat/libwebsockets/blob/f9d1f25abe896b9fa1de780e4a5cb41116926a29/CMakeLists.txt#L716
I don't think it's necessary to do that check again in media interface. Can you provide the whole build error message for further investigation?
When compiling libwebsockets, libcap will be checked. If libcap is already installed on the system, it will be linked to libwebsockets. Therefore, kvswebrtcmaster also needs link libcap, otherwise will meet compile error.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.