File: 0001-Make-Qt5-Qt6-library-coinstallable.patch

package info (click to toggle)
kcolorpicker 0.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 244 kB
  • sloc: cpp: 547; makefile: 16; ansic: 13
file content (21 lines) | stat: -rw-r--r-- 620 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Boyuan Yang <byang@debian.org>
Date: Wed, 20 Mar 2024 15:02:32 -0400
Subject: Make Qt5 Qt6 library coinstallable

Bug: https://github.com/ksnip/kColorPicker/issues/13
---
 CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1d15048..3d14b5b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,6 +65,7 @@ set_target_properties(kColorPicker
 					  RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin
 		 			  VERSION ${PROJECT_VERSION}
 					  SOVERSION 0
+					  OUTPUT_NAME kColorPicker-Qt${QT_MAJOR_VERSION}
 					  )
 
 install(TARGETS kColorPicker