gazebosim / sdformat

Simulation Description Format (SDFormat) parser and description files.
http://sdformat.org
Apache License 2.0
164 stars 92 forks source link

Find ign math package fails in windows #115

Open osrf-migration opened 8 years ago

osrf-migration commented 8 years ago

Original report (archived issue) by XB32Z (Bitbucket: XB32Z).


Hi, Using windows, when including SDFormat in a project (gazebo), cmake uses the SDFormatConfig.cmake file. line 25 it is written ignition-math which fails because the config.cmake file of ignition math is called ignition-math2. I would change that line to: find_package(ignition-math2)

Thank you,

osrf-migration commented 8 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


As of sdf3, we are appending the variable IGNITION-MATH_REQUIRED_MAJOR_VERSION to ignition-math in the find_package call:

This variable is set in cmake/SearchForStuff.cmake. I wonder if this is not being set properly during configuration?

Which sdformat branch are you using?