OpenSSL only if feature networking is set.#142
Conversation
173d1d0 to
5c60c76
Compare
|
This alone doesn't turn off bulding the tests in the submodule |
|
Ah yeah I missed this, thanks for opening a PR. I'll need to think on the tests, but maybe that part can just be disabled as well, I think it's just making a unique SSL cert per run. |
|
@jbaldwin I've added the actual cmake line I was using, I've disabled tests anyway. See how the |
|
Can you open an issue for the expected lib building tests when tests are disabled? Its a bug in the build system for sure, it might affect the other vendor deps as well |
|
We can use the expected vendor for c++20 and for c++23 use the stdlib version, its possible via cmake to detect the c++ version and only include the vendor one if its < c++23 basically. I would make that as a different issue as well. Realistically I think targeting c++20 for this library indefinitely makes the most sense though, but lets pickup new features if the user is using a new version! |
|
I'm not exactly sure I can add a commit to your fork's PR so I just opened another PR here with the additions to make the tests work properly: |
|
The cmake configure step still probes for all the networking related APIs. |
|
Can the c-ares be excluded, depending on the networking feature selection? |
I've included your changes into my PR branch. |
|
Lots of "catch-2" build steps still occur, though. |
|
Yes, I think that should be fixed on the other PR here #143, this is just removing openssl with |
|
I'm not merging the pending PRs and pushing, just have it all at once in my work tree and it's not completely there, just yet. |
d6a26e8 to
0a26e51
Compare
|
@jbaldwin This PR includes your branch |
dd30e56 to
d7748d8
Compare
This fixes #141 to not include OpenSSL if there's no networking selected.