re2: use the same C++ std used by abseil-cpp (#43288)

Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
This commit is contained in:
Juan Miguel Carceller 2024-03-23 14:48:38 +01:00 committed by GitHub
parent bba66b1063
commit ddd8be51a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,5 +40,6 @@ def cmake_args(self):
args = [
self.define_from_variant("BUILD_SHARED_LIBS", "shared"),
self.define_from_variant("CMAKE_POSITION_INDEPENDENT_CODE", "pic"),
f"-DCMAKE_CXX_STANDARD={self.spec['abseil-cpp'].variants['cxxstd'].value}",
]
return args