cisco / libsrtp

Library for SRTP (Secure Realtime Transport Protocol)
Other
1.24k stars 476 forks source link

allow cmake to use imported `mbedtls` library #698

Open dmllr opened 7 months ago

dmllr commented 7 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 5 months 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 5 months ago

Did not mean to close this :(