xmidt-org / cjwt

A c jwt implementation
15 stars 21 forks source link

cannot build with pre-installed external dependencies. #15

Closed ronyb29 closed 3 years ago

ronyb29 commented 6 years ago

When trying to build as part of a bundle, cjwt always downloads trower-base64 and cJSON and uses a fixed version.

In the case of trying to have cjwt as a dependency from a bigger project the project will have to link trower-base64 and cJSON too, so it will need to install them. When trying to compile like this, it would be beneficial to look for libraries in the same prefix cjwt will be installed in.

schmidtw commented 5 years ago

My CMake skills are a bit weak. I think there is a way to do this, but I'm not sure.

schmidtw commented 3 years ago

I think we have addressed a significant number of the issues with dependencies in the 1.0.4 release.