Skip to content

Remove unnecessary 'add_dependencies' commands #370

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

Merged
merged 1 commit into from
Jan 26, 2014
Merged

Remove unnecessary 'add_dependencies' commands #370

merged 1 commit into from
Jan 26, 2014

Conversation

ruslo
Copy link

@ruslo ruslo commented Jan 20, 2014

If 'target_link_libraries' used, no need to add dependency explicitly.

From documentation:

If a library name matches that of another target in the project a dependency
will automatically be added in the build system to make sure the library
being linked is up-to-date before the target links.

If 'target_link_libraries' used, no need to add dependency explicitly.

From documentation:

  If a library name matches that of another target in the project a dependency
  will automatically be added in the build system to make sure the library
  being linked is up-to-date before the target links.
@ruslo
Copy link
Author

ruslo commented Jan 26, 2014

Hi Dean! Is something missing in this PR? BTW now we'll have a bunch of conflicts with #372 😃

@deanberris
Copy link
Member

Oops, I just missed this -- sorry @ruslo! I will merge this now and let you catch up on #372 :)

@deanberris
Copy link
Member

LGTM

deanberris added a commit that referenced this pull request Jan 26, 2014
Remove unnecessary 'add_dependencies' commands
@deanberris deanberris merged commit b9026fd into cpp-netlib:master Jan 26, 2014
@ruslo ruslo deleted the remove.dependencies branch January 26, 2014 14:18
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