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

FindTINYXML2.cmake ignores upstream installed tinyxml2Config.cmake #70

Open
osrf-migration opened this issue Feb 12, 2020 · 0 comments
Open
Labels
bug Something isn't working major

Comments

@osrf-migration
Copy link

Original report (archived issue) by Silvio Traversaro (Bitbucket: traversaro).


Since leethomason/tinyxml2#557, tinyxml2 exports its own CMake config file under the CMake package name tinyxml2 . However, ignition-cmake’s FindTINYXML2.cmake CMake scripts ignore this file, and always search for the package using pkg-config or manual search. To correctly find the debug and release version of the library in system without pkg-config, it would be convenient if FindTINYXML2.cmake looked for the tinyxml2 CMake package as the first step, and populated appropriatly the variable and the imported targets that it exports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant