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

Fix InstallBasicPackageFiles preserving compatibility #112

Merged

Conversation

claudiofantacci
Copy link
Collaborator

There was an error in InstallBasicPackageFiles.cmake file which was forcing the user to set in its project cmake file specific GLOBAL variable for properly export the project.

In particular, under specific circumstances, set_and_check(${_IBPF_VARS_PREFIX}_INCLUDEDIR \"@PACKAGE_${_IBPF_VARS_PREFIX}_INCLUDEDIR@\") was failing while importing a target using find_package(<target_name>).

This behaviour is fixed changing set_and_check() with set(), thus preserving compatibility.

Furthermore, the file documentation has also been updated.

claudiofantacci added a commit to robotology/how-to-export-cpp-library that referenced this pull request Jan 20, 2017
Update InstallBasicPackageFiles from YCM due to the following PR: robotology/ycm-cmake-modules#112

Fixes #6
claudiofantacci added a commit to claudiofantacci/AutoCanny that referenced this pull request Jan 20, 2017
Update InstallBasicPackageFiles from YCM due to the following PR: robotology/ycm-cmake-modules#112

Also update CMakeLists.txt files to account for the Update. CMake code is now more clean.
@drdanz
Copy link
Member

drdanz commented Jan 23, 2017

can you please add a line to describe your changes in help/release/0.2.3.rst? See the other files in the same directory for the syntax (it is slightly different from markdown)

@claudiofantacci
Copy link
Collaborator Author

Will do.

@claudiofantacci
Copy link
Collaborator Author

Done!
Check it out 👍

@drdanz drdanz merged commit 70154dc into robotology:master Jan 27, 2017
@drdanz
Copy link
Member

drdanz commented Jan 27, 2017

Merged, thanks!

@claudiofantacci claudiofantacci deleted the fix/InstallBasicPackageFiles branch April 24, 2017 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants