QXlsx: backport cmake patch
This commit is contained in:
parent
8f3f1740bf
commit
026c8fb0a6
24
srcpkgs/QXlsx/patches/fix-inc.patch
Normal file
24
srcpkgs/QXlsx/patches/fix-inc.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From 8c3e6633e3c901bc5a5cd477383421b0980dcd26 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alexey Sokolov <sokolov@google.com>
|
||||||
|
Date: Mon, 17 Apr 2023 23:43:59 +0100
|
||||||
|
Subject: [PATCH] Fix #278
|
||||||
|
|
||||||
|
There's no real reason to install the same headers twice, but at least
|
||||||
|
now clients of the library can build again
|
||||||
|
---
|
||||||
|
QXlsx/CMakeLists.txt | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/QXlsx/CMakeLists.txt b/QXlsx/CMakeLists.txt
|
||||||
|
index 4fa7f7f..074922a 100644
|
||||||
|
--- a/QXlsx/CMakeLists.txt
|
||||||
|
+++ b/QXlsx/CMakeLists.txt
|
||||||
|
@@ -179,7 +179,7 @@ PRIVATE
|
||||||
|
${QXLSX_HEADERPATH}
|
||||||
|
PUBLIC
|
||||||
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/header>
|
||||||
|
- $<INSTALL_INTERFACE:include/QXlsx>
|
||||||
|
+ $<INSTALL_INTERFACE:include/QXlsxQt${QT_VERSION_MAJOR}>
|
||||||
|
)
|
||||||
|
|
||||||
|
set_target_properties(QXlsx PROPERTIES
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'QXlsx'
|
# Template file for 'QXlsx'
|
||||||
pkgname=QXlsx
|
pkgname=QXlsx
|
||||||
version=1.4.6
|
version=1.4.6
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_wrksrc="QXlsx"
|
build_wrksrc="QXlsx"
|
||||||
hostmakedepends="qt5-qmake qt5-host-tools"
|
hostmakedepends="qt5-qmake qt5-host-tools"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user