build,qt: Fix include path in CMake files

* lang/qt/src/Makefile.am (QGpgmeConfig.cmake, QGpgmeQt6Config.cmake):
Use new variables includeprefix{5,6} instead of replaced variable
includeprefix.
--

GnuPG-bug-id: 7205
This commit is contained in:
Ingo Klöcker 2024-07-22 10:32:00 +02:00
parent 9ab2ce36f9
commit 5c095553e4
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9

View File

@ -415,12 +415,12 @@ if HAVE_W32_SYSTEM
QGpgmeConfig.cmake: QGpgmeConfig-w32.cmake.in
sed -e 's|[@]resolved_bindir@|$(bindir)|g' < "$<" | \
sed -e 's|[@]resolved_libdir@|$(libdir)|g' | \
sed -e 's|[@]resolved_includedir@|$(includedir)/$(includeprefix)|g' > $@
sed -e 's|[@]resolved_includedir@|$(includedir)/$(includeprefix5)|g' > $@
else
QGpgmeConfig.cmake: QGpgmeConfig.cmake.in
sed -e 's|[@]resolved_libdir@|$(libdir)|g' < "$<" | \
sed -e 's|[@]libsuffix@|$(libsuffix)|g' | \
sed -e 's|[@]resolved_includedir@|$(includedir)/$(includeprefix)|g' > $@
sed -e 's|[@]resolved_includedir@|$(includedir)/$(includeprefix5)|g' > $@
endif
endif
if WANT_QT6
@ -428,12 +428,12 @@ if HAVE_W32_SYSTEM
QGpgmeQt6Config.cmake: QGpgmeQt6Config-w32.cmake.in
sed -e 's|[@]resolved_bindir@|$(bindir)|g' < "$<" | \
sed -e 's|[@]resolved_libdir@|$(libdir)|g' | \
sed -e 's|[@]resolved_includedir@|$(includedir)/$(includeprefix)|g' > $@
sed -e 's|[@]resolved_includedir@|$(includedir)/$(includeprefix6)|g' > $@
else
QGpgmeQt6Config.cmake: QGpgmeQt6Config.cmake.in
sed -e 's|[@]resolved_libdir@|$(libdir)|g' < "$<" | \
sed -e 's|[@]libsuffix@|$(libsuffix)|g' | \
sed -e 's|[@]resolved_includedir@|$(includedir)/$(includeprefix)|g' > $@
sed -e 's|[@]resolved_includedir@|$(includedir)/$(includeprefix6)|g' > $@
endif
endif