Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow cmake to use imported mbedtls library #698

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

dmllr
Copy link

@dmllr dmllr commented Apr 8, 2024

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
Copy link
Member

pabuhler commented Jun 9, 2024

"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 pabuhler closed this Jun 9, 2024
@pabuhler pabuhler reopened this Jun 9, 2024
@pabuhler
Copy link
Member

pabuhler commented Jun 9, 2024

Did not mean to close this :(

@pabuhler
Copy link
Member

@dmllr i have tried to find if this is the correct thing to be doing or not but I have not found any good documentation. Do you have any references? If it is correct than I guess it should be don't for all dependencies. I will continue to try and find some answers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants