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

use target_link_directories #2

Merged
merged 1 commit into from
Nov 1, 2019
Merged

use target_link_directories #2

merged 1 commit into from
Nov 1, 2019

Conversation

griwodz
Copy link
Collaborator

@griwodz griwodz commented Oct 25, 2019

We encountered a problem where libflann was not found because the link_directories() statement did not work. Changing it to target_link_directories() fixed the problem. It appears to be a change in CMake semantics.

Copy link
Collaborator

@FredrikJohanssen FredrikJohanssen left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you!

@FredrikJohanssen FredrikJohanssen merged commit 6cfc13f into master Nov 1, 2019
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.

2 participants