Open lulivi opened 3 years ago
The problem is that it will not be possible to build those examples as standalone. The -Wl,--no-as-needed
are added because we are enabling the distributed_logger
component at the top level CMakeLists.txt
. So, it is not a good idea to remove them (probably, since those flags are not needed from 6.1.0, we can add or not them depending on the ConnextDDS version)
Information
What is the current behavior?
There are some examples (listed below) that add flags already included by FindRTIConnextDDS
File list
Suggested solutions
As the distributed logger component is included in the top-level CMakeLists.txt, we need to check whether the version is greater than 6.1.0, to filter them out. See comment