joystick_drivers icon indicating copy to clipboard operation
joystick_drivers copied to clipboard

Fix spacenav from-source build with missing dependencies

Open stefanscherzinger opened this issue 2 years ago • 0 comments

Using a variable for dependencies is cleaner for linking and export.

Fixes this build error:

--- stderr: spacenav
CMake Error at CMakeLists.txt:22 (add_library):
  Target "spacenav" links to target "rclcpp_components::component" but the
  target was not found.  Perhaps a find_package() call is missing for an
  IMPORTED target, or an ALIAS target is missing?

stefanscherzinger avatar Nov 09 '22 23:11 stefanscherzinger