diff options
author | Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> | 2024-03-23 14:48:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-23 14:48:38 +0100 |
commit | ddd8be51a0b196b0814f65cc5ea37e39b177e257 (patch) | |
tree | e68721e82916d77bb16fa4d35523b1b248e4ca42 /var | |
parent | bba66b1063094b82ba430eb673804085b95db433 (diff) | |
download | spack-ddd8be51a0b196b0814f65cc5ea37e39b177e257.tar.gz spack-ddd8be51a0b196b0814f65cc5ea37e39b177e257.tar.bz2 spack-ddd8be51a0b196b0814f65cc5ea37e39b177e257.tar.xz spack-ddd8be51a0b196b0814f65cc5ea37e39b177e257.zip |
re2: use the same C++ std used by abseil-cpp (#43288)
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/re2/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/re2/package.py b/var/spack/repos/builtin/packages/re2/package.py index 0932968d18..586bb3dc3f 100644 --- a/var/spack/repos/builtin/packages/re2/package.py +++ b/var/spack/repos/builtin/packages/re2/package.py @@ -40,5 +40,6 @@ class Re2(CMakePackage): 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 |