Currently, CMake is configured to download and build abseil from source whenever `BUILD_GEOCODER` is set to `ON`. Let's allow users to use a pre-existing installation of abseil by checking for one first before attempting to download and build another one. If CMake finds a pre-existing installation of abseil, it will use that instead. We need to allow the user to override `CMAKE_CXX_STANDARD` because they may have built abseil with a newer standard than C++11. Attempting to build libphonenumber with C++11 will fail if abseil was built with a newer C++ standard. Closes #2772. |
3 years ago | |
|---|---|---|
| .. | ||
| src | Some performance improvements to CPP lib based on absl packages (#2703) | 4 years ago |
| test/cpp-build | TOOLS: Add unit test for ReplaceAll(). | 11 years ago |
| CMakeLists.txt | Use a system-installed abseil when available (#2791) | 3 years ago |
| gtest.cmake | CPP: Update CMake rules for Google Test to not require a pre-compiled static | 11 years ago |