google / re2

RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.
BSD 3-Clause "New" or "Revised" License
8.91k stars 1.13k forks source link

Fix re2Config.cmake.in for CMake 3.29 #487

Closed moubctez closed 6 months ago

moubctez commented 6 months ago

The expansion of @PACKAGE_INIT@ has changed in CMake 3.29. Now ${PACKAGE_PREFIX_DIR} is not defined anymore, so re2Config.cmake.in fails to configure the package correctly. This pull request fixes the problem.

google-cla[bot] commented 6 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

github-actions[bot] commented 6 months ago

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