~ruther/guix-local

ref: b8a4b1fb8df06cf1f0f7d4164e2a119aa033ce6f guix-local/gnu/packages/patches/kdiagram-Fix-missing-link-libraries.patch -rw-r--r-- 803 bytes
b8a4b1fb — Leo Famulari gnu: linux-libre 6.1: Update to 6.1.149. 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From c59acf1f54a2cd760e55082a01593a31a690d786 Mon Sep 17 00:00:00 2001
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
Date: Wed, 22 Jan 2020 00:56:27 +0100
Subject: [PATCH] Fix missing link libraries.

These are only actually missing if the libraries reside in different
prefixes, as it is the case in Guix or Nix.
---
 examples/Bars/Simple/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/Bars/Simple/CMakeLists.txt b/examples/Bars/Simple/CMakeLists.txt
index be2a6fc..b13befb 100644
--- a/examples/Bars/Simple/CMakeLists.txt
+++ b/examples/Bars/Simple/CMakeLists.txt
@@ -1,3 +1,3 @@
 add_executable(BarsSimple  main.cpp)
 
-target_link_libraries(BarsSimple KChart6 Qt::Widgets)
+target_link_libraries(BarsSimple KChart6 Qt::Widgets Qt::Svg)
-- 
2.21.1