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:
parent
bba66b1063
commit
ddd8be51a0
1 changed files with 1 additions and 0 deletions
|
@ -40,5 +40,6 @@ def cmake_args(self):
|
||||||
args = [
|
args = [
|
||||||
self.define_from_variant("BUILD_SHARED_LIBS", "shared"),
|
self.define_from_variant("BUILD_SHARED_LIBS", "shared"),
|
||||||
self.define_from_variant("CMAKE_POSITION_INDEPENDENT_CODE", "pic"),
|
self.define_from_variant("CMAKE_POSITION_INDEPENDENT_CODE", "pic"),
|
||||||
|
f"-DCMAKE_CXX_STANDARD={self.spec['abseil-cpp'].variants['cxxstd'].value}",
|
||||||
]
|
]
|
||||||
return args
|
return args
|
||||||
|
|
Loading…
Reference in a new issue