Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ros2] Cannot specify link libraries for target "tinyxml2_vendor" #194

Closed
norro opened this issue May 14, 2020 · 1 comment
Closed

[ros2] Cannot specify link libraries for target "tinyxml2_vendor" #194

norro opened this issue May 14, 2020 · 1 comment

Comments

@norro
Copy link

norro commented May 14, 2020

In my downstream project diagnostic_aggregator, cmake find_package of pluginlib fails since the latest changes with:

...
-- Found tinyxml2_vendor: 0.7.0 ({snip}/install/tinyxml2_vendor/share/tinyxml2_vendor/cmake)
CMake Error at {snip}/install/pluginlib/share/pluginlib/cmake/pluginlib-extras.cmake:49 (target_include_directories):
  Cannot specify include directories for imported target "tinyxml2_vendor".
Call Stack (most recent call first):
  {snip}/install/pluginlib/share/pluginlib/cmake/pluginlibConfig.cmake:41 (include)
  CMakeLists.txt:15 (find_package)


CMake Error at {snip}/install/pluginlib/share/pluginlib/cmake/pluginlib-extras.cmake:51 (target_link_libraries):
  Cannot specify link libraries for target "tinyxml2_vendor" which is not
  built by this project.
Call Stack (most recent call first):
  {snip}/install/pluginlib/share/pluginlib/cmake/pluginlibConfig.cmake:41 (include)
  CMakeLists.txt:15 (find_package)

(I shortened the workspace path)

This may be in some kind of connection with #191?

@norro
Copy link
Author

norro commented May 26, 2020

fixed in latest master

@norro norro closed this as completed May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant