Skip to content

Export dependency libraries. #515

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

Conversation

povilasb
Copy link

@povilasb povilasb commented Apr 4, 2015

When adding cpp-netlib to my project with find_package() it is necessary to link against Boost libraries and include Boost headers files. Although this is already done by cpp-netlib.

This PR adds Boost libraries to the exported library list. It also adds ${Boost_INCLUDE_DIRS} to ${CPPNETLIB_INCLUDE_DIRS}. This way when I type

find_package(cppnetlib REQUIRED)
include_directories(${CPPNETLIB_INCLUDE_DIRS})

I do not need to take any more actions to make cppnetlib work in my project.

@deanberris
Copy link
Member

LGTM

Thanks @povilasb!

deanberris added a commit that referenced this pull request Apr 7, 2015
@deanberris deanberris merged commit 86b5a30 into cpp-netlib:0.11-devel Apr 7, 2015
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