projects/guix·blob python-team · refs

27 lines · 961 B

1From c4f558b0990571759fdaf976eb35ee1eb0d934a0 Mon Sep 17 00:00:00 2001
2From: Robert Hensing <[email protected]>
3Date: Tue, 25 Jun 2024 20:57:41 +0200
4Subject: [PATCH] Add -lrapidcheck to pkg-config module
5
6This adds the library to rapidcheck.pc, so that it doesn't have
7to be specified manually in projects that consume it.
8
9The other modules don't need it because they have rapidcheck in
10their Requires field.
11---
12 CMakeLists.txt | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/CMakeLists.txt b/CMakeLists.txt
16index d55fdc51..046df2fd 100644
17--- a/CMakeLists.txt
18+++ b/CMakeLists.txt
19@@ -128,7 +128,7 @@ set(PKG_CONFIG_DESCRIPTION_SUMMARY "C++ framework for property based testing ins
20 set(PKG_CONFIG_VERSION)
21 set(PKG_CONFIG_LIBDIR "\${prefix}/lib")
22 set(PKG_CONFIG_INCLUDEDIR "\${prefix}/include")
23-set(PKG_CONFIG_LIBS)
24+set(PKG_CONFIG_LIBS "-L\${libdir} -lrapidcheck")
25 set(PKG_CONFIG_CFLAGS "-I\${includedir}")
26
27 configure_file(