ARC-OPT / wbc

C++ library for optimization-based control of redundant robots
https://arc-opt.github.io/Documentation/
BSD 3-Clause "New" or "Revised" License
38 stars 14 forks source link

solvers-eiquadprog: Also tell the target about the include and link dirs #34

Closed pierrewillenbrockdfki closed 2 years ago

pierrewillenbrockdfki commented 2 years ago

This allows the cart_pos_ctrl_eiquadprog tutorial to build with separate_prefixes=true

@dmronga , the other option is to have the pkg-config query or, at least include_directories in tutorials/kuka_iiwa/CMakeLists.txt

planthaber commented 2 years ago

This PR solves basically the same issue as https://github.com/ARC-OPT/wbc/pull/33

dmronga commented 2 years ago

Thanks for your PR. I prefer this solution. I will close #33

planthaber commented 2 years ago

Looks like the "target_link_directories" command is not available on ubuntu 18.04