GNU bug report logs -
#64137
[PATCH 0/2] Build catch2@3 with CMake and update to 3.3.2
Previous Next
Reported by: David Elsing <david.elsing <at> posteo.net>
Date: Sat, 17 Jun 2023 19:28:02 UTC
Severity: normal
Tags: patch
Done: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
* gnu/packages/check.scm (catch2-static-3.3): New variable.
---
gnu/packages/check.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 512b2ac070..7986f58cc1 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -623,6 +623,17 @@ (define-public catch2-3.3
a multi-paradigm automated test framework for C++ and Objective-C.")
(license license:boost1.0)))
+(define-public catch2-static-3.3
+ (let ((base catch2-3.3))
+ (package
+ (inherit base)
+ (name "catch2-static")
+ (arguments
+ (substitute-keyword-arguments (package-arguments base)
+ ((#:configure-flags flags)
+ #~(cons* "-DBUILD_SHARED_LIBS=OFF"
+ (delete "-DBUILD_SHARED_LIBS=ON" #$flags))))))))
+
(define-public cmdtest
(package
(name "cmdtest")
--
2.40.1
This bug report was last modified 2 years and 16 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.