Add wolfSSL as a dependency of security_plugins imported target
lulivi opened this issue · comments
Luvo commented
Issue information
Field | Value |
---|---|
Jira issue key | INSTALL-720 |
OS(s) | -- |
Connext version(s) | -- |
Connext architecture(s) | -- |
Description
Currently, the security_plugins
imported target is not linked against WolfSSL.
Steps to reproduce the issue
Expected behavior
Suggested solutions
# Security plugins
set(dependencies RTIConnextDDS::c_api)
- # The OpenSSL imported targets are created by find_package(OpenSSL).
- if(TARGET OpenSSL::SSL)
- set(dependencies ${dependencies} OpenSSL::SSL)
- endif()
+ # The OpenSSL and wolfSSL imported targets are created by
+ # find_package(OpenSSL|wolfSSL).
+ if(TARGET wolfSSL::wolfSSL)
+ set(dependencies ${dependencies} wolfSSL::wolfSSL)
+ else()
+ if(TARGET OpenSSL::SSL)
+ set(dependencies ${dependencies} OpenSSL::SSL)
+ endif()
- if(TARGET OpenSSL::Crypto)
- set(dependencies ${dependencies} OpenSSL::Crypto)
+ if(TARGET OpenSSL::Crypto)
+ set(dependencies ${dependencies} OpenSSL::Crypto)
+ endif()
endif()
create_connext_imported_target(