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

[CMake] Added RE2_ENABLE_INSTALL #517

Closed
wants to merge 1 commit into from
Closed

Conversation

veblush
Copy link

@veblush veblush commented Oct 17, 2024

When using re2 as a submodule via CMake, we need to prevent the re2 from being installed. This is because the re2 installation target expects to find installed Abseil targets, which aren't available when being used as a submodule.

To address this, I've added a new CMake option RE2_ENABLE_INSTALL. This option controls whether re2 is installable and is set by default if it's used in a standard way. Hence, no change for the existing use-case is introduced. The only difference is when re2 is included as a submodule. In this specific case, re2 won't be installed by default. This will solve the missing Abseil dependency issue.

Copy link

RE2 uses Gerrit instead of GitHub pull requests.
See the Contribute wiki page.

@github-actions github-actions bot closed this Oct 17, 2024
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