rticommunity / rticonnextdds-cmake-utils

This repository provides modules and scripts that simplify the process of building and running RTI Connext applications using CMake.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use a single call when searching for WolfSSL as we do for OpenSSL

lulivi opened this issue · comments

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.

Steps to reproduce the issue

Expected behavior

Suggested solutions