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

Fix error when using provided jansson #189

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

orgads
Copy link
Contributor

@orgads orgads commented Nov 15, 2023

Unknown CMake command "PKG_SEARCH_MODULE".

Unknown CMake command "PKG_SEARCH_MODULE".
@benmcollins benmcollins merged commit 323fb1c into benmcollins:master Nov 15, 2023
@orgads
Copy link
Contributor Author

orgads commented Nov 15, 2023

@benmcollins What is the right way to pass the path? With 1.13, I passed -Djansson_DIR="$JANSSON_CMAKE" and it worked. How can it be done with pkgconfig?

@benmcollins
Copy link
Owner

You may need to tell CMAKE where your pkgconfig lib dir is. I've had to do this with auto tools, but I'm not sure how to do it with CMAKE. I don't really maintain the build method.

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