[libraries/qrtfreader] src: CMakeLists.txt: move generated headers to 'QRtfReader' subdirectory

Sergey Katunin <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 14909819d98f650055ed69e861c5bb0dc6b3bb38 by Sergey Katunin.
Committed on 01/08/2026 at 16:18.
Pushed by sgakerru into branch 'master'.

CMakeLists.txt: move generated headers to 'QRtfReader' subdirectory

M  +4    -1    src/CMakeLists.txt

https://invent.kde.org/libraries/qrtfreader/-/commit/14909819d98f650055ed69e861c5bb0dc6b3bb38

diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7f68bd2..ce4df78 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -134,15 +134,18 @@ ecm_generate_headers(QRtfReader_HEADERS
                  AbstractRtfOutput
                  FontTableEntry
                  StyleSheetTableEntry
+
+    PREFIX QRtfReader
     REQUIRED_HEADERS QRtfReader_HEADERS
 )
 
 install(TARGETS QRtfReader EXPORT QRtfReaderTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
 
+install(FILES ${QRtfReader_HEADERS} DESTINATION ${KDE_INSTALL_INCLUDEDIR}/QRtfReader/QRtfReader COMPONENT Devel)
+
 install(FILES
     ${CMAKE_CURRENT_BINARY_DIR}/qrtfreader_export.h
     ${CMAKE_CURRENT_BINARY_DIR}/qrtfreader_version.h
-    ${QRtfReader_HEADERS}
     DESTINATION ${KDE_INSTALL_INCLUDEDIR}/QRtfReader COMPONENT Devel
 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.