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 users to use FetchContent for the mbedtls dependency #16

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jdmdmm
Copy link

@jdmdmm jdmdmm commented May 24, 2024

The option USE_FETCH_CONTENT has been added (defaulted to OFF)
This option allows you to use FetchContent for your mbedtls depency

You will need to supply these variables:
MBEDTLS_TARGET (defaulted to: mbedtls)
MBEDX509_TARGET (defaulted to: mbedx509)
MBEDCRYPTO_TARGET (defaulted to: mbedcrypto)
MBEDTLS_INCLUDE_DIR (this must be specified in the CMakeLists.txt file from which the FetchContent is being done)

The existing find_package is switched off if USE_FETCH_CONTENT is switched on.

@jdmdmm
Copy link
Author

jdmdmm commented May 24, 2024

Checks failing on unrelated issue to this change:
The failures are because the oatpp library being pulled / built is at 1.4.0 when this build requires 1.3.0

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.

1 participant