Using Conan in ROS2 Package

Hi everyone!
I used conan to manipulate dependencies in ros2 package developmen, but I ran in some troubles:

  1. Header files. Suppose I use conan package (such as glog, gflags) in A package, and B depends on A, then awful thing happens, I can’t acquire those conan packages’s header files path in B.
  2. Libraries. Like above, I have to source activated_run.sh in A before building B package.
    Is there solution in ament_cmake to solve these?
2 Likes

Any insights to this problem?