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

Option to use system provided httplib #1946

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

mattiaverga
Copy link
Contributor

Some Linux distributions have their own httplib packaged, this will add an option to use the system provided one (default to use bundled library).

@knro
Copy link
Contributor

knro commented Oct 2, 2023

System provided httplib requires CMake find file as well?

@mattiaverga
Copy link
Contributor Author

System provided httplib requires CMake find file as well?

Oh, yes, I haven't realized httplib provides CMake find file.
Should I add a find_package() when the option is ON?

@knro
Copy link
Contributor

knro commented Oct 2, 2023

Exactly

@mattiaverga
Copy link
Contributor Author

Ok, not much cmake/C knowledge here, but I hope to have done it right...

CMakeLists.txt Outdated Show resolved Hide resolved
@knro
Copy link
Contributor

knro commented Oct 5, 2023

@pawel-soja Do you know what is causing the failure? I can reproduce the issue locally, it's related to the %include "indiapi.h" is this a new issue though?

@pawel-soja
Copy link
Contributor

@knro I quickly looked through what was wrong and I think I found it. I've linked a new pull request to this thread. Once it is built, the problem is found and solved.

@knro knro merged commit b387858 into indilib:master Oct 6, 2023
10 of 11 checks passed
@mattiaverga mattiaverga deleted the unbundle-httplib branch December 1, 2023 17:05
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.

3 participants