summaryrefslogtreecommitdiff
path: root/dev-libs/qxlsx/files/qxlsx-1.4.6-headers.patch
blob: 90dd81fb8c882e283280389cad01336493daf692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
https://github.com/QtExcel/QXlsx/pull/279

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/CMakeLists.txt
+++ b/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