mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: unittest-cpp: Fix "Version" setting in ".pc" file.
* gnu/packages/check.scm (unittest-cpp)[arguments]<#:configure-flags>: Add Provide a "Version" value in ".pc" file for pkg-config checks. Change-Id: I934ef3d83d50876be8ab157ba52d8812ed33ba2e Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
31584128b7
commit
9a2dca2e97
1 changed files with 5 additions and 1 deletions
|
@ -3614,7 +3614,11 @@ (define-public unittest-cpp
|
|||
(sha256
|
||||
(base32 "0sxb3835nly1jxn071f59fwbdzmqi74j040r81fanxyw3s1azw0i"))))
|
||||
(arguments
|
||||
`(#:tests? #f)) ; It's run after build automatically.
|
||||
(list
|
||||
#:tests? #f ; It's run after build automatically.
|
||||
;; Fix 'Version:' setting in .pc file. See:
|
||||
;; <https://github.com/unittest-cpp/unittest-cpp/pull/188>
|
||||
#:configure-flags #~(list (string-append "-DPACKAGE_VERSION=" #$version))))
|
||||
(build-system cmake-build-system)
|
||||
(home-page "https://github.com/unittest-cpp/unittest-cpp")
|
||||
(synopsis "Lightweight unit testing framework for C++")
|
||||
|
|
Loading…
Reference in a new issue