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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -26,8 +26,8 @@ target_include_directories(CsCore
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include>
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtCore>
- $<INSTALL_INTERFACE:include>
- $<INSTALL_INTERFACE:include/QtCore>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtCore>
)
include_directories(
--- a/src/gui/CMakeLists.txt
+++ b/src/gui/CMakeLists.txt
@@ -18,7 +18,7 @@ set(EXTRA_GUI_LDFLAGS)
target_include_directories(CsGui
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtGui>
- $<INSTALL_INTERFACE:include/QtGui>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtGui>
)
include_directories(
--- a/src/multimedia/CMakeLists.txt
+++ b/src/multimedia/CMakeLists.txt
@@ -14,7 +14,7 @@ set(EXTRA_MULTIMEDIA_LDFLAGS)
target_include_directories(CsMultimedia
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtMultimedia>
- $<INSTALL_INTERFACE:include/QtMultimedia>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtMultimedia>
)
include_directories(
--- a/src/network/CMakeLists.txt
+++ b/src/network/CMakeLists.txt
@@ -36,7 +36,7 @@ endif()
target_include_directories(CsNetwork
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtNetwork>
- $<INSTALL_INTERFACE:include/QtNetwork>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtNetwork>
)
include_directories(
--- a/src/opengl/CMakeLists.txt
+++ b/src/opengl/CMakeLists.txt
@@ -15,7 +15,7 @@ set(EXTRA_OPENGL_LDFLAGS)
target_include_directories(CsOpenGL
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtOpenGL>
- $<INSTALL_INTERFACE:include/QtOpenGL>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtOpenGL>
)
include_directories(
--- a/src/script/CMakeLists.txt
+++ b/src/script/CMakeLists.txt
@@ -37,7 +37,7 @@ set(EXTRA_SCRIPT_LDFLAGS)
target_include_directories(CsScript
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtScript>
- $<INSTALL_INTERFACE:include/QtScript>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtScript>
)
include_directories(
--- a/src/sql/CMakeLists.txt
+++ b/src/sql/CMakeLists.txt
@@ -15,7 +15,7 @@ set(EXTRA_SQL_LDFLAGS)
target_include_directories(CsSql
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtSql>
- $<INSTALL_INTERFACE:include/QtSql>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtSql>
)
include_directories(
--- a/src/svg/CMakeLists.txt
+++ b/src/svg/CMakeLists.txt
@@ -13,7 +13,7 @@ set(EXTRA_SVG_LDFLAGS)
target_include_directories(CsSvg
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtSvg>
- $<INSTALL_INTERFACE:include/QtSvg>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtSvg>
)
include_directories(
--- a/src/vulkan/CMakeLists.txt
+++ b/src/vulkan/CMakeLists.txt
@@ -14,7 +14,7 @@ set(EXTRA_VULKAN_LDFLAGS)
target_include_directories(CsVulkan
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtVulkan>
- $<INSTALL_INTERFACE:include/QtVulkan>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtVulkan>
)
include_directories(
--- a/src/webkit/CMakeLists.txt
+++ b/src/webkit/CMakeLists.txt
@@ -39,7 +39,7 @@ endif()
target_include_directories(CsWebKit
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtWebKit>
- $<INSTALL_INTERFACE:include/QtWebKit>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtWebKit>
)
include_directories(
--- a/src/xml/CMakeLists.txt
+++ b/src/xml/CMakeLists.txt
@@ -13,7 +13,7 @@ set(EXTRA_XML_LDFLAGS)
target_include_directories(CsXml
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtXml>
- $<INSTALL_INTERFACE:include/QtXml>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtXml>
)
include_directories(
--- a/src/xmlpatterns/CMakeLists.txt
+++ b/src/xmlpatterns/CMakeLists.txt
@@ -13,7 +13,7 @@ set(EXTRA_XMLPATTERNS_LDFLAGS)
target_include_directories(CsXmlPatterns
PUBLIC
$<BUILD_INTERFACE:${CMAKE_BINARY_DIR}/include/QtXmlPatterns>
- $<INSTALL_INTERFACE:include/QtXmlPatterns>
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/QtXmlPatterns>
)
include_directories(
|