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

Improve docopt-config.cmake in case of Boost regex #140

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stephan-cr
Copy link

This commit declares the transitive dependency to Boost in case docopt is build with Boost regex support. In this way, the user doesn't need to declare the dependency to Boost manually.

This commit declares the transitive dependency to Boost in case docopt
is build with Boost regex support. In this way, the user doesn't need
to declare the dependency to Boost manually.
@jaredgrubb
Copy link
Member

I'm not a make expert so it'd be nice to get some other eyes on this that can confirm this approach is reasonable.

@jaredgrubb jaredgrubb added the more-eyes Needs more eyes from more people label Mar 25, 2022
Copy link
Contributor

@eaaltonen eaaltonen left a comment

Choose a reason for hiding this comment

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

LGTM. I tested this on a local project with docopt built with option -DUSE_BOOST_REGEX=True. Dependency works as expected and the CMake follows CMake packaging instructions AFAICT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more-eyes Needs more eyes from more people
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants