guix/gnu/packages/patches/kdiagram-Fix-missing-link-libraries.patch
Zheng Junjie ed72b36492
gnu: kdiagram: Update to 3.0.1.
* gnu/packages/kde.scm (kdiagram): Update to 3.0.1.
[inputs]: Remove qtbase-5 and qtsvg-5; add qtsvg.
[native-inputs]: Remove qttools-5; add qttools.
[arguments]: Set #:qtbase to qtbase.

* gnu/packages/patches/kdiagram-Fix-missing-link-libraries.patch: Adjust it.

Change-Id: Ieedf4412bfa4b432161b95f9fd62d5849ec96cff
2024-07-18 10:45:19 +08:00

23 lines
803 B
Diff

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