cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.19k stars 469 forks source link

allow cmake to use imported `mbedtls` library #698

Open dmllr opened 2 months ago

dmllr commented 2 months ago

find_library in CMake always tries to find the library installed, but in the case when the same library was build from source as a CMake dependency, find_library would fail.

To fix the issue, CMakeLists.txt is changed to call find_library for mbedtls only if needed.

pabuhler commented 3 weeks ago

"ld: symbol(s) not found for architecture x86_64", i guess it needs to check if the architecture matches as well, or is it a different reason it fails?

pabuhler commented 3 weeks ago

Did not mean to close this :(