You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it should also be find_package'd in urdfdom-config.cmake and the include directories should be added to urdfdom_INCLUDE_DIRS. Currently it hard codes the path to TinyXML headers when urdfdom was built.
If the final goal is a relocatable package that does not hardcode the location of TinyXML nor the install location of urdfdom, during the build, it probably make sense to make sure that the FindTinyXML.cmake installed by urdfdom creates an imported target, and urdfdom creates an imported target as well.
One tricky aspect is that the urdfdom-installed FindTinyXML.cmake may risk to shadow an existing FindTinyXML.cmake already used by the user, so perhaps it could make sense to use urdfdom prefixes and just add FindTinyXML.cmake to the CMAKE_MODULE_PATH only as long as strictly necessary.
urdfdom finds TinyXML when it is being built, but it does not find it again when it is installed.
urdfdom/CMakeLists.txt
Line 35 in 1857a55
Since
tinyxml.h
is included in a public headerurdfdom/urdf_parser/include/urdf_parser/urdf_parser.h
Line 42 in 1857a55
it should also be
find_package
'd inurdfdom-config.cmake
and the include directories should be added tourdfdom_INCLUDE_DIRS
. Currently it hard codes the path toTinyXML
headers when urdfdom was built.urdfdom/cmake/urdfdom-config.cmake.in
Line 6 in 1857a55
This package has uses its own find module for tinyxml, so that will need to be installed so it can be used from
urdfdom-config.cmake
https://github.com/ros/urdfdom/blob/master/cmake/FindTinyXML.cmake
Bionic urdfdom-config.cmake
The text was updated successfully, but these errors were encountered: