| 1 | From c4f558b0990571759fdaf976eb35ee1eb0d934a0 Mon Sep 17 00:00:00 2001
|
| 2 | From: Robert Hensing <[email protected]>
|
| 3 | Date: Tue, 25 Jun 2024 20:57:41 +0200
|
| 4 | Subject: [PATCH] Add -lrapidcheck to pkg-config module
|
| 5 |
|
| 6 | This adds the library to rapidcheck.pc, so that it doesn't have
|
| 7 | to be specified manually in projects that consume it.
|
| 8 |
|
| 9 | The other modules don't need it because they have rapidcheck in
|
| 10 | their Requires field.
|
| 11 | ---
|
| 12 | CMakeLists.txt | 2 +-
|
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-)
|
| 14 |
|
| 15 | diff --git a/CMakeLists.txt b/CMakeLists.txt
|
| 16 | index d55fdc51..046df2fd 100644
|
| 17 | |
| 18 | |
| 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(
|