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

Declare version numbers and install cmake version config file #22

Merged
merged 2 commits into from
Oct 13, 2015

Conversation

scpeters
Copy link
Contributor

The cmake version config file is similar to the version added in ros/urdfdom_headers#17 and the logic for hte Windows install location is based on ros/urdfdom#41 by @traversaro

Some of the open issues call for version number bumping, so this should help with that.

Currently version 0.2.8
Use version number variable in pkc-config template
isucan added a commit that referenced this pull request Oct 13, 2015
Declare version numbers and install cmake version config file
@isucan isucan merged commit 131e120 into ros:master Oct 13, 2015
if(WIN32 AND NOT CYGWIN)
set(CMAKE_CONFIG_INSTALL_DIR CMake)
else()
set(CMAKE_CONFIG_INSTALL_DIR ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}/cmake/)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of curiosity: where does CMAKE_INSTALL_DATAROOTDIR point to? And where does it get set?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops, that is set by GNUInstallDirs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

which was added in ros/urdfdom#41 but not here it is already present in urdfdom

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just trying to be consistent with that other pull request, though I know there has been some controversy about GNUInstallDirs

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be added in #23

@scpeters scpeters mentioned this pull request Oct 13, 2015
@scpeters scpeters deleted the cmake_version_config branch February 2, 2016 17:49
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

Successfully merging this pull request may close these issues.

3 participants