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

Add an option to skip dependency installation for CMake #71

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

Conversation

alexeibs
Copy link

Currently CMakeLists.txt is configured in a way that the build dependencies are downloaded (such as abseil-cpp and googletest) automatically during the build process. This can make it difficult to include robotstxt into other C++ projects as a submodule which is a common practice in C++ ecosystem. If a project is already using googletest or abseil-cpp, then it's possible to get 2 different versions of the same library in the same project which is not ideal and might cause linker issues.

This PR introduces ROBOTS_SKIP_DEPS which allows to skip dependency installation and access the dependencies by other means (i.e. find_package).

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.

1 participant