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 Espressif component cmake for environment variable source #7148

Merged
merged 1 commit into from
Jan 19, 2024

Conversation

gojimmypi
Copy link
Contributor

@gojimmypi gojimmypi commented Jan 19, 2024

Description

As described in the wolfSSL support forum there's currently a mistake the the Espressif component CMakelists.txt when using an environment variable to point to the WOLFSSL_ROOT.

This PR corrects the FIND_WOLFSSL_DIRECTORY Cmake function for non-blank values of $ENV{WOLFSSL_ROOT} to properly use if( FOUND_WOLFSSL ).

Edit: This PR was updated with a force push to merge a second commit; Return logic was added when the environment variable setting for WOLFSSL_ROOT was found and contained wolfssl source.

Fixes zd# n/a

Testing

How did you test?

Manual project building only.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@gojimmypi gojimmypi self-assigned this Jan 19, 2024
@dgarske dgarske assigned wolfSSL-Bot and unassigned dgarske Jan 19, 2024
@dgarske dgarske merged commit d043333 into wolfSSL:master Jan 19, 2024
106 checks passed
@gojimmypi gojimmypi mentioned this pull request Jan 21, 2024
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