[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#57675] [PATCH v5 06/11] gnu: Add abseil-cpp-cxxstd17.
From: |
Hilton Chain |
Subject: |
[bug#57675] [PATCH v5 06/11] gnu: Add abseil-cpp-cxxstd17. |
Date: |
Tue, 20 Sep 2022 07:35:26 +0800 |
* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.
---
gnu/packages/cpp.scm | 9 +++++++++
1 file changed, 9 insertions(+)
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 @@ (define-public abseil-cpp
`(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")
--
2.37.3
[bug#57675] [PATCH v5 00/11] gnu: telegram-desktop: Update to 4.2.0., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 01/11] gnu: webrtc-for-telegram-desktop: Delete trailing #t., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 02/11] gnu: telegram-desktop: Delete trailing #t., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 03/11] gnu: webrtc-for-telegram-desktop: Use modern package style., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 04/11] gnu: telegram-desktop: Use modern package style., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 05/11] gnu: telegram-desktop: Change Api ID., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 06/11] gnu: Add abseil-cpp-cxxstd17.,
Hilton Chain <=
- [bug#57675] [PATCH v5 07/11] gnu: extra-cmake-modules: Update to 5.98.0., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 08/11] gnu: kcoreaddons: Remove trailing #t., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 09/11] gnu: kcoreaddons: Update to 5.98.0., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 10/11] gnu: webrtc-for-telegram-desktop: Update to 621f3d., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 11/11] gnu: telegram-desktop: Update to 4.2.0., Hilton Chain, 2022/09/19
- [bug#57675] [PATCH v5 11/11] gnu: telegram-desktop: Update to 4.2.0., Liliana Marie Prikler, 2022/09/20
- [bug#57675] [PATCH v5 11/11] gnu: telegram-desktop: Update to 4.2.0., Hilton Chain, 2022/09/20
- [bug#57675] [PATCH v5 11/11] gnu: telegram-desktop: Update to 4.2.0., Liliana Marie Prikler, 2022/09/20
[bug#57675] [PATCH v5 04/11] gnu: telegram-desktop: Use modern package style., Liliana Marie Prikler, 2022/09/20
[bug#57675] [PATCH v5 03/11] gnu: webrtc-for-telegram-desktop: Use modern package style., Liliana Marie Prikler, 2022/09/20