aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cpp.scm
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2022-09-26 21:30:24 +0800
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-09-28 20:22:38 +0200
commit7bcfdebc55f8b50d490201e63461d6533d60c19d (patch)
tree2cacb45ddbf9ff516872b1231910dcc7d15b149f /gnu/packages/cpp.scm
parentb23985dc80513791be045c4bcb9eb54f6d1890db (diff)
downloadguix-7bcfdebc55f8b50d490201e63461d6533d60c19d.tar
guix-7bcfdebc55f8b50d490201e63461d6533d60c19d.tar.gz
gnu: Add abseil-cpp-cxxstd17.
* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/cpp.scm')
-rw-r--r--gnu/packages/cpp.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index d03e0bc7e1..5e0646444c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1041,6 +1041,15 @@ Google's C++ code base.")
`(cons* "-DBUILD_TESTING=ON"
(delete "-DABSL_RUN_TESTS=ON" ,flags))))))))
+(define-public abseil-cpp-cxxstd17
+ (let ((base abseil-cpp))
+ (hidden-package
+ (package/inherit base
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:configure-flags flags)
+ #~(cons* "-DCMAKE_CXX_STANDARD=17" #$flags))))))))
+
(define-public pegtl
(package
(name "pegtl")