Use a single call when searching for WolfSSL as we do for OpenSSL
lulivi opened this issue · comments
Luvo commented
Issue information
Field | Value |
---|---|
Jira issue key | INSTALL-721 |
OS(s) | -- |
Connext version(s) | -- |
Connext architecture(s) | -- |
Description
Similarly as we did in #39 we can use a single find_package
call to keep it clean and make use of WolfSSL_ROOT
setting it to CONNEXTDDS_WOLFSSL_DIR
to search the library.
In addition, we need to define the cmake_policy(SET CMP0074 NEW)
so CMake use the <PackageName>_ROOT
variables apart from the <PackageName>_ROOT_DIR
variables to search for the package root directory when calling find_package
.